|
VMime
|
#include <IMAPMessagePart.hpp>


Public Member Functions | |
| IMAPMessagePart (shared_ptr< IMAPMessagePart > parent, const size_t number, const IMAPParser::body_type_mpart *mpart) | |
| IMAPMessagePart (shared_ptr< IMAPMessagePart > parent, const size_t number, const IMAPParser::body_type_1part *part) | |
| shared_ptr< const messageStructure > | getStructure () const |
| shared_ptr< messageStructure > | getStructure () |
| shared_ptr< const IMAPMessagePart > | getParent () const |
| const mediaType & | getType () const |
| size_t | getSize () const |
| size_t | getNumber () const |
| shared_ptr< const header > | getHeader () const |
| header & | getOrCreateHeader () |
Static Public Member Functions | |
| static shared_ptr< IMAPMessagePart > | create (shared_ptr< IMAPMessagePart > parent, const size_t number, const IMAPParser::body *body) |
Additional Inherited Members | |
| Protected Member Functions inherited from object | |
| object () | |
| object (const object &) | |
| object & | operator= (const object &) |
| virtual | ~object () |
| IMAPMessagePart | ( | shared_ptr< IMAPMessagePart > | parent, |
| const size_t | number, | ||
| const IMAPParser::body_type_mpart * | mpart ) |
| IMAPMessagePart | ( | shared_ptr< IMAPMessagePart > | parent, |
| const size_t | number, | ||
| const IMAPParser::body_type_1part * | part ) |
|
static |
|
virtual |
Return the header section for this part (you must fetch header before using this function: see message::fetchPartHeader).
Implements messagePart.
|
virtual |
Return the part sequence number (index).
The first part is at index zero.
Implements messagePart.
| header & getOrCreateHeader | ( | ) |
| shared_ptr< const IMAPMessagePart > getParent | ( | ) | const |
|
virtual |
|
virtual |
Return the structure of this part.
Implements messagePart.
References IMAPMessageStructure::emptyStructure().
|
virtual |
Return the structure of this part.
Implements messagePart.
References IMAPMessageStructure::emptyStructure().
|
virtual |
Return the media-type of the content in this part.
Implements messagePart.