|
VMime
|


Public Member Functions | |
| virtual shared_ptr< const messageStructure > | getStructure () const =0 |
| virtual shared_ptr< messageStructure > | getStructure ()=0 |
| virtual shared_ptr< const header > | getHeader () const =0 |
| virtual const mediaType & | getType () const =0 |
| virtual size_t | getSize () const =0 |
| virtual size_t | getNumber () const =0 |
| shared_ptr< const messagePart > | getPartAt (const size_t pos) const |
| shared_ptr< messagePart > | getPartAt (const size_t pos) |
| size_t | getPartCount () const |
Protected Member Functions | |
| messagePart () | |
| messagePart (const messagePart &) | |
| virtual | ~messagePart () |
Protected Member Functions inherited from object | |
| object () | |
| object (const object &) | |
| object & | operator= (const object &) |
| virtual | ~object () |
A MIME part in a message.
|
protected |
|
protected |
|
protectedvirtual |
|
pure virtual |
Return the header section for this part (you must fetch header before using this function: see message::fetchPartHeader).
Implemented in IMAPMessagePart, and maildirMessagePart.
|
pure virtual |
Return the part sequence number (index).
The first part is at index zero.
Implemented in IMAPMessagePart, and maildirMessagePart.
| shared_ptr< const messagePart > getPartAt | ( | const size_t | pos | ) | const |
Return the sub-part at the specified position (zero is the first part).
| pos | index of the sub-part |
References messagePart::getStructure().
| shared_ptr< messagePart > getPartAt | ( | const size_t | pos | ) |
Return the sub-part at the specified position (zero is the first part).
| pos | index of the sub-part |
References messagePart::getStructure().
| size_t getPartCount | ( | ) | const |
Return the number of sub-parts in this part.
References messagePart::getStructure().
|
pure virtual |
Return the size of this part.
Implemented in IMAPMessagePart, and maildirMessagePart.
|
pure virtual |
Return the structure of this part.
Implemented in IMAPMessagePart, and maildirMessagePart.
Referenced by messagePart::getPartAt(), and messagePart::getPartCount().
|
pure virtual |
Return the structure of this part.
Implemented in IMAPMessagePart, and maildirMessagePart.
|
pure virtual |
Return the media-type of the content in this part.
Implemented in IMAPMessagePart, and maildirMessagePart.