VMime
fileAttachment Class Reference

#include <fileAttachment.hpp>

Inheritance diagram for fileAttachment:
Collaboration diagram for fileAttachment:

Classes

class  fileInfo

Public Member Functions

 fileAttachment (const string &filepath, const mediaType &type)
 fileAttachment (const string &filepath, const mediaType &type, const text &desc)
 fileAttachment (const string &filepath, const mediaType &type, const text &desc, const encoding &enc)
 fileAttachment (shared_ptr< contentHandler > cts, const word &filename, const mediaType &type)
 fileAttachment (shared_ptr< contentHandler > cts, const word &filename, const mediaType &type, const text &desc)
 fileAttachment (shared_ptr< contentHandler > cts, const word &filename, const mediaType &type, const text &desc, const encoding &enc)
const fileInfogetFileInfo () const
fileInfogetFileInfo ()
Public Member Functions inherited from defaultAttachment
 defaultAttachment (shared_ptr< const contentHandler > data, const encoding &enc, const mediaType &type, const text &desc=NULL_TEXT, const word &name=NULL_WORD)
 defaultAttachment (shared_ptr< const contentHandler > data, const mediaType &type, const text &desc=NULL_TEXT, const word &name=NULL_WORD)
 defaultAttachment (const defaultAttachment &attach)
 ~defaultAttachment ()
defaultAttachmentoperator= (const defaultAttachment &attach)
const mediaType getType () const
const text getDescription () const
const word getName () const
const shared_ptr< const contentHandlergetData () const
const encoding getEncoding () const
shared_ptr< const objectgetPart () const
shared_ptr< const headergetHeader () const
Public Member Functions inherited from attachment
virtual ~attachment ()

Additional Inherited Members

Protected Member Functions inherited from defaultAttachment
 defaultAttachment ()
Protected Member Functions inherited from attachment
 attachment ()
Protected Member Functions inherited from object
 object ()
 object (const object &)
objectoperator= (const object &)
virtual ~object ()
Protected Attributes inherited from defaultAttachment
mediaType m_type
text m_desc
shared_ptr< const contentHandlerm_data
encoding m_encoding
word m_name

Detailed Description

Attachment of type 'file'.

Constructor & Destructor Documentation

◆ fileAttachment() [1/6]

fileAttachment ( const string & filepath,
const mediaType & type )

◆ fileAttachment() [2/6]

fileAttachment ( const string & filepath,
const mediaType & type,
const text & desc )

◆ fileAttachment() [3/6]

fileAttachment ( const string & filepath,
const mediaType & type,
const text & desc,
const encoding & enc )

◆ fileAttachment() [4/6]

fileAttachment ( shared_ptr< contentHandler > cts,
const word & filename,
const mediaType & type )

◆ fileAttachment() [5/6]

fileAttachment ( shared_ptr< contentHandler > cts,
const word & filename,
const mediaType & type,
const text & desc )

◆ fileAttachment() [6/6]

fileAttachment ( shared_ptr< contentHandler > cts,
const word & filename,
const mediaType & type,
const text & desc,
const encoding & enc )

Member Function Documentation

◆ getFileInfo() [1/2]

fileAttachment::fileInfo & getFileInfo ( )

◆ getFileInfo() [2/2]

const fileAttachment::fileInfo & getFileInfo ( ) const

The documentation for this class was generated from the following files: