Main Page | Namespace List | Class Hierarchy | Class List | Namespace Members | Class Members

TnefAttachment Class Reference

List of all members.

Detailed Description

TnefAttachment represents a file attachment extracted from a TNEF container.


Public Member Functions

 TnefAttachment ()
 Default constructor.
 TnefAttachment (const TnefAttachment &)
 Copy constructor.
 TnefAttachment (const mimepp::String &fileName, const mimepp::DateTime &modificationTime, const mimepp::String &content)
 Constructor that takes an initial value.
 ~TnefAttachment ()
 Destructor.
TnefAttachmentoperator= (const TnefAttachment &)
 Assignment operator.
const mimepp::String fileName () const
 Gets the attachment file name.
const mimepp::DateTimemodificationTime () const
 Gets the attachment modification time.
const mimepp::Stringcontent () const
 Gets the content of the attachment.


Constructor & Destructor Documentation

TnefAttachment  ) 
 

Default constructor.

TnefAttachment const TnefAttachment other  ) 
 

Copy constructor.

Parameters:
other TnefAttachment instance to copy

TnefAttachment const mimepp::String fileName,
const mimepp::DateTime modificationTime,
const mimepp::String content
 

Constructor that takes an initial value.

Parameters:
fileName the file name of the attachment
modificationTime the time the file was last modified
content the content of the attachment

~TnefAttachment  ) 
 

Destructor.


Member Function Documentation

const mimepp::String & content  )  const
 

Gets the content of the file.

Returns:
the content of the file

const mimepp::String fileName  )  const
 

Gets the file name of the attachment.

Returns:
the file name of the attachment

const mimepp::DateTime & modificationTime  )  const
 

Gets the file modification time.

Returns:
the time the file was last modified

TnefAttachment & operator= const TnefAttachment other  ) 
 

Assignment operator.

Parameters:
other TnefAttachment instance to copy
Returns:
*this

Copyright © 2001-2007 Hunny Software, Inc. All rights reserved.