|
VMime
|
#include <disposition.hpp>


Protected Member Functions | |
| void | parseImpl (const parsingContext &ctx, const string &buffer, const size_t position, const size_t end, size_t *newPosition=NULL) |
| void | generateImpl (const generationContext &ctx, utility::outputStream &os, const size_t curLinePos=0, size_t *newLinePos=NULL) const |
Protected Member Functions inherited from component | |
| void | setParsedBounds (const size_t start, const size_t end) |
| virtual void | parseImpl (const parsingContext &ctx, shared_ptr< utility::parserInputStreamAdapter > parser, const size_t position, const size_t end, size_t *newPosition=NULL) |
Protected Member Functions inherited from object | |
| object () | |
| object (const object &) | |
| object & | operator= (const object &) |
| virtual | ~object () |
Disposition - from RFC-3798 (basic type).
| disposition | ( | ) |
| disposition | ( | const string & | actionMode, |
| const string & | sendingMode, | ||
| const string & | type, | ||
| const string & | modifier | ||
| ) |
References vmime::dynamicCast().
Add a disposition modifier if it does not exist.
See the constants in vmime::dispositionModifiers.
| modifier | modifier to add |
References vmime::dynamicCast(), disposition::hasModifier(), and stringUtils::toLower().
|
virtual |
Clone this component.
Implements component.
References vmime::dynamicCast().
Replace data in this component by data in other component.
Both components must be of the same type.
| std::bad_cast_exception | if the components are not of the same (dynamic) type |
| other | other component to copy data from |
Implements component.
References vmime::dynamicCast().
Referenced by disposition::operator=().
|
protectedvirtual |
Implements component.
References vmime::dynamicCast(), vmime::NEW_LINE_SEQUENCE, vmime::NEW_LINE_SEQUENCE_LENGTH, and stringUtils::trim().
Return the disposition action mode.
See the constants in vmime::dispositionActionModes.
|
virtual |
Return the list of children of this component.
Implements component.
Return the list of modifiers.
Return the disposition sending mode.
See the constants in vmime::dispositionSendingModes.
Test whether a disposition modifier is set.
| modifier | modifier to test |
References vmime::dynamicCast(), and stringUtils::toLower().
Referenced by disposition::addModifier().
| disposition & operator= | ( | const disposition & | other | ) |
References disposition::copyFrom().
|
protectedvirtual |
Reimplemented from component.
References vmime::dynamicCast(), vmime::end(), and parserHelpers::isSpace().
| void removeAllModifiers | ( | ) |
Remove all disposition modifiers.
Remove the specified disposition modifier.
See the constants in vmime::dispositionModifiers.
| modifier | modifier to remove |
References vmime::dynamicCast(), and stringUtils::toLower().
Set the disposition action mode.
See the constants in vmime::dispositionActionModes.
| mode | disposition action mode |
References vmime::dynamicCast().
Set the disposition sending mode.
See the constants in vmime::dispositionSendingModes.
| mode | disposition sending mode |
References vmime::dynamicCast().
Set the disposition type.
See the constants in vmime::dispositionTypes.
| type | disposition type |