|
VMime
|
#include <contentDisposition.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 () |
Content disposition (basic type).
| contentDisposition | ( | const string & | name | ) |
| contentDisposition | ( | const contentDisposition & | disp | ) |
|
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 contentDisposition::operator=().
|
protectedvirtual |
Implements component.
References vmime::dynamicCast().
|
virtual |
Return the list of children of this component.
Implements component.
Return the content disposition type.
See the constants in vmime::dispositionTypes.
| bool operator!= | ( | const contentDisposition & | value | ) | const |
References vmime::dynamicCast().
| contentDisposition & operator= | ( | const contentDisposition & | other | ) |
References contentDisposition::copyFrom().
| contentDisposition & operator= | ( | const string & | name | ) |
References stringUtils::toLower().
| bool operator== | ( | const contentDisposition & | value | ) | const |
References vmime::dynamicCast(), and stringUtils::toLower().
|
protectedvirtual |
Reimplemented from component.
References vmime::dynamicCast(), vmime::end(), component::setParsedBounds(), stringUtils::toLower(), and stringUtils::trim().
Set the content disposition type.
See the constants in vmime::dispositionTypes.
| name | name of the disposition type |