|
VMime
|
#include <fileContentHandler.hpp>


Additional Inherited Members | |
| Static Public Attributes inherited from contentHandler | |
| static const vmime::encoding | NO_ENCODING |
| Protected Member Functions inherited from object | |
| object () | |
| object (const object &) | |
| object & | operator= (const object &) |
| virtual | ~object () |
A content handler which obtains its data from a file.
| fileContentHandler | ( | ) |
Creates a new empty content handler.
No data can be extracted until a file is attached using setData() function.
References streamContentHandler::streamContentHandler().
Referenced by fileContentHandler(), and operator=().
| fileContentHandler | ( | shared_ptr< utility::file > | file, |
| const vmime::encoding & | enc = NO_ENCODING ) |
Creates a new content handler using a file.
| file | file from which data will be obtained |
| enc | set to anything other than NO_ENCODING if the data contained in the file is already encoded with the specified encoding |
References setData().
| ~fileContentHandler | ( | ) |
| fileContentHandler | ( | const fileContentHandler & | cts | ) |
References fileContentHandler(), setData(), and streamContentHandler::streamContentHandler().
|
virtual |
| fileContentHandler & operator= | ( | const fileContentHandler & | cts | ) |
References fileContentHandler(), and setData().
| void setData | ( | shared_ptr< utility::file > | file, |
| const vmime::encoding & | enc = NO_ENCODING ) |
Sets the data managed by this content handler.
| file | file from which data will be obtained |
| enc | set to anything other than NO_ENCODING if the data contained in the file is already encoded with the specified encoding |
References streamContentHandler::setData().
Referenced by fileContentHandler(), fileContentHandler(), and operator=().