|
VMime
|
#include <messageId.hpp>


Static Public Member Functions | |
| static messageId | generateId () |
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 () |
Static Protected Member Functions | |
| static shared_ptr< messageId > | parseNext (const parsingContext &ctx, const string &buffer, const size_t position, const size_t end, size_t *newPosition) |
Message identifier (basic type).
| messageId | ( | ) |
Referenced by messageId::generateId().
References component::parse().
|
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 messageId::operator=().
|
static |
Generate a random message identifier.
References vmime::dynamicCast(), platform::getHandler(), random::getNext(), random::getProcess(), random::getTime(), and messageId::messageId().
Referenced by htmlTextPart::addObject(), and transport::processHeader().
|
protectedvirtual |
Implements component.
References vmime::dynamicCast(), vmime::NEW_LINE_SEQUENCE, and vmime::NEW_LINE_SEQUENCE_LENGTH.
|
virtual |
Return the list of children of this component.
Implements component.
Return the message identifier constructed by using the right part and the left part, separated by a '@' character.
Return the left part of the message identifier.
Return the right part of the message identifier.
References vmime::dynamicCast().
References messageId::copyFrom().
References component::parse().
References vmime::dynamicCast().
|
protectedvirtual |
Reimplemented from component.
References vmime::dynamicCast(), vmime::end(), parserHelpers::isSpace(), and component::setParsedBounds().
|
staticprotected |
Parse a message-id from an input buffer.
| buffer | input buffer |
| position | position in the input buffer |
| end | end position in the input buffer |
| newPosition | will receive the new position in the input buffer |
References vmime::begin(), vmime::dynamicCast(), vmime::end(), and parserHelpers::isSpace().
Referenced by messageIdSequence::parseImpl().
Set the left part of the message identifier.
| left | left part of message identifier |
References vmime::dynamicCast().
Set the right part of the message identifier.
| right | right part of message identifier |
References vmime::dynamicCast().