|
VMime
|
#include <contentDisposition.hpp>


Public Member Functions | |
| contentDisposition () | |
| contentDisposition (const string &name) | |
| contentDisposition (const contentDisposition &disp) | |
| const string & | getName () const |
| void | setName (const string &name) |
| shared_ptr< component > | clone () const |
| void | copyFrom (const component &other) |
| contentDisposition & | operator= (const contentDisposition &other) |
| const std::vector< shared_ptr< component > > | getChildComponents () |
| contentDisposition & | operator= (const string &name) |
| bool | operator== (const contentDisposition &value) const |
| bool | operator!= (const contentDisposition &value) const |
| Public Member Functions inherited from headerFieldValue | |
| size_t | getGeneratedSize (const generationContext &ctx) |
| Public Member Functions inherited from component | |
| component () | |
| virtual | ~component () |
| void | parse (const string &buffer) |
| void | parse (const parsingContext &ctx, const string &buffer) |
| void | parse (shared_ptr< utility::inputStream > inputStream, const size_t length) |
| void | parse (const string &buffer, const size_t position, const size_t end, size_t *newPosition=NULL) |
| void | parse (const parsingContext &ctx, const string &buffer, const size_t position, const size_t end, size_t *newPosition=NULL) |
| void | parse (shared_ptr< utility::inputStream > inputStream, const size_t position, const size_t end, size_t *newPosition=NULL) |
| void | parse (const parsingContext &ctx, shared_ptr< utility::inputStream > inputStream, const size_t position, const size_t end, size_t *newPosition=NULL) |
| virtual const string | generate (const size_t maxLineLength=lineLengthLimits::infinite, const size_t curLinePos=0) const |
| virtual void | generate (utility::outputStream &outputStream, const size_t curLinePos=0, size_t *newLinePos=NULL) const |
| virtual void | generate (const generationContext &ctx, utility::outputStream &outputStream, const size_t curLinePos=0, size_t *newLinePos=NULL) const |
| size_t | getParsedOffset () const |
| size_t | getParsedLength () const |
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 | ( | ) |
Referenced by contentDisposition(), copyFrom(), operator!=(), operator=(), operator=(), and operator==().
| contentDisposition | ( | const string & | name | ) |
| contentDisposition | ( | const contentDisposition & | disp | ) |
References contentDisposition().
|
virtual |
|
virtual |
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 contentDisposition().
Referenced by operator=().
|
protectedvirtual |
Implements component.
|
virtual |
Return the list of children of this component.
Implements component.
| const string & getName | ( | ) | const |
Return the content disposition type.
See the constants in vmime::dispositionTypes.
Referenced by attachmentHelper::isBodyPartAnAttachment().
| bool operator!= | ( | const contentDisposition & | value | ) | const |
References contentDisposition().
| contentDisposition & operator= | ( | const contentDisposition & | other | ) |
References contentDisposition(), and copyFrom().
| contentDisposition & operator= | ( | const string & | name | ) |
References contentDisposition(), and stringUtils::toLower().
| bool operator== | ( | const contentDisposition & | value | ) | const |
References contentDisposition(), and stringUtils::toLower().
|
protectedvirtual |
Reimplemented from component.
References vmime::end(), component::setParsedBounds(), stringUtils::toLower(), and stringUtils::trim().
| void setName | ( | const string & | name | ) |
Set the content disposition type.
See the constants in vmime::dispositionTypes.
| name | name of the disposition type |