|
VMime
|
#include <contentTypeField.hpp>


Protected Member Functions | |
| contentTypeField () | |
| contentTypeField (contentTypeField &) | |
Protected Member Functions inherited from parameterizedHeaderField | |
| parameterizedHeaderField () | |
| 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 headerField | |
| headerField () | |
| headerField (const string &fieldName) | |
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 () |
Additional Inherited Members | |
Static Public Member Functions inherited from headerField | |
| static shared_ptr< headerField > | parseNext (const parsingContext &ctx, const string &buffer, const size_t position, const size_t end, size_t *newPosition=NULL) |
Protected Attributes inherited from headerField | |
| string | m_name |
| shared_ptr< headerFieldValue > | m_value |
|
protected |
|
protected |
Return the value of the "boundary" parameter.
Boundary is a random string used to separate body parts.
References vmime::dynamicCast(), and parameterizedHeaderField::findParameter().
Referenced by body::generateImpl().
Return the value of the "charset" parameter.
It specifies the charset used in the body part contents.
References vmime::dynamicCast(), and parameterizedHeaderField::findParameter().
Return the value of the "report-type" parameter (RFC-1892).
References vmime::dynamicCast(), and parameterizedHeaderField::findParameter().
| bool hasBoundary | ( | ) | const |
Test whether the "boundary" parameter is set.
References parameterizedHeaderField::hasParameter().
| bool hasCharset | ( | ) | const |
Test whether the "charset" parameter is set.
References parameterizedHeaderField::hasParameter().
| bool hasReportType | ( | ) | const |
Test whether the "report-type" parameter is set.
References parameterizedHeaderField::hasParameter().
Set the value of the "boundary" parameter.
Boundary is a random string used to separate body parts. Normally, the boundary is generated automatically by VMime, you should not need to call this.
| boundary | new value for the "boundary" parameter |
References vmime::dynamicCast(), parameterizedHeaderField::getParameter(), and vmime::charsets::US_ASCII.
Set the value of the "charset" parameter.
It specifies the charset used in the body part contents.
| ch | new value for the "charset" parameter |
References vmime::dynamicCast(), and parameterizedHeaderField::getParameter().
Referenced by body::setCharset().
Set the value of the "report-type" parameter (RFC-1892).
| reportType | new value for the "report-type" parameter |
References vmime::dynamicCast(), parameterizedHeaderField::getParameter(), and vmime::charsets::US_ASCII.