|
VMime
|
#include <htmlTextPart.hpp>


Public Types | |
| enum | ReferenceType { REFERENCED_BY_ID , REFERENCED_BY_LOCATION } |
Public Member Functions | |
| embeddedObject (shared_ptr< contentHandler > data, const encoding &enc, const string &id, const mediaType &type, const ReferenceType refType) | |
| shared_ptr< const contentHandler > | getData () const |
| const vmime::encoding | getEncoding () const |
| const string | getId () const |
| const string | getReferenceId () const |
| const mediaType | getType () const |
| ReferenceType | getReferenceType () const |
| bool | matchesId (const string &id) const |
Additional Inherited Members | |
Protected Member Functions inherited from object | |
| object () | |
| object (const object &) | |
| object & | operator= (const object &) |
| virtual | ~object () |
Embedded object (eg: image for <IMG> tag).
| embeddedObject | ( | shared_ptr< contentHandler > | data, |
| const encoding & | enc, | ||
| const string & | id, | ||
| const mediaType & | type, | ||
| const ReferenceType | refType | ||
| ) |
Constructs an embedded object.
| data | content of the object |
| enc | encoding of the data |
| id | object identifier |
| type | object content type |
| refType | reference type |
| shared_ptr< const contentHandler > getData | ( | ) | const |
Return data stored in this embedded object.
| const vmime::encoding getEncoding | ( | ) | const |
Return the encoding used for data in this embedded object.
Returns the identifier of this embedded object (either a unique ID or a location).
Return the identifier used to reference this embedded object in a text document (for example, you can use the result as the "src" attribute of an <img> tag).
| htmlTextPart::embeddedObject::ReferenceType getReferenceType | ( | ) | const |
Returns the way this object is referenced.
Return the content type of data stored in this embedded object.
Returns whether this object matches the specified identifier.
| id | identifier to test |
References vmime::dynamicCast().