A MIME part in a message. More...


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