Base class for all types of attachment. More...


Public Member Functions | |
| virtual | ~attachment () |
| virtual const mediaType | getType () const =0 |
| virtual const text | getDescription () const =0 |
| virtual const word | getName () const =0 |
| virtual const ref< const contentHandler > | getData () const =0 |
| virtual const encoding | getEncoding () const =0 |
| virtual ref< const object > | getPart () const =0 |
| virtual ref< const header > | getHeader () const =0 |
Protected Member Functions | |
| attachment () | |
| virtual void | generateIn (ref< bodyPart > parent) const =0 |
Base class for all types of attachment.
| attachment | ( | ) | [protected] |
| virtual ~attachment | ( | ) | [virtual] |
| virtual void generateIn | ( | ref< bodyPart > | parent | ) | const [protected, pure virtual] |
Generate the attachment in the specified body part.
| parent | body part in which to generate the attachment |
| virtual const ref<const contentHandler> getData | ( | ) | const [pure virtual] |
Return the data contained in this attachment.
Implemented in defaultAttachment.
| virtual const text getDescription | ( | ) | const [pure virtual] |
Return the description of this attachment.
Implemented in defaultAttachment.
| virtual const encoding getEncoding | ( | ) | const [pure virtual] |
Return the encoding used for this attachment.
Implemented in defaultAttachment.
| virtual ref<const header> getHeader | ( | ) | const [pure virtual] |
Return the header of the attachment part.
Implemented in defaultAttachment.
| virtual const word getName | ( | ) | const [pure virtual] |
Return the (file) name of this attachment.
Implemented in defaultAttachment.
| virtual ref<const object> getPart | ( | ) | const [pure virtual] |
Return the part in which the attachment has been found.
This can be a vmime::bodyPart or a vmime::net::part object.
Implemented in defaultAttachment.
| virtual const mediaType getType | ( | ) | const [pure virtual] |
Return the media type of this attachment.
Implemented in defaultAttachment.
1.6.2