|
VMime
|
#include <address.hpp>


Static Public Member Functions | |
| static shared_ptr< address > | parseNext (const parsingContext &ctx, const string &buffer, const size_t position, const size_t end, size_t *newPosition, bool *isLastAddressOfGroup) |
Protected Member Functions | |
| address () | |
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) |
| virtual void | parseImpl (const parsingContext &ctx, const string &buffer, const size_t position, const size_t end, size_t *newPosition=NULL) |
| virtual void | generateImpl (const generationContext &ctx, utility::outputStream &os, const size_t curLinePos=0, size_t *newLinePos=NULL) const =0 |
Protected Member Functions inherited from object | |
| object () | |
| object (const object &) | |
| object & | operator= (const object &) |
| virtual | ~object () |
Abstract class representing a mailbox or a group of mailboxes.
This class define a common behaviour for the mailbox and mailboxGroup classes.
|
protected |
Referenced by mailbox::parseImpl().
|
pure virtual |
Clone this component.
Implements component.
Implemented in mailbox, and mailboxGroup.
Check whether this address is empty (no mailboxes specified if this is a mailboxGroup -or- no email specified if this is a mailbox).
Implemented in mailbox, and mailboxGroup.
Test whether this is object is a mailboxGroup.
Implemented in mailbox, and mailboxGroup.
Referenced by address::parseNext().
|
static |
Parse an address from an input buffer.
| ctx | parsing context |
| 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 |
| isLastAddressOfGroup | will be set to true if this is the last address of a group (end delimiter was found), or false otherwise (may be set to NULL) |
References vmime::end(), address::isGroup(), and parserHelpers::isSpace().
Referenced by addressList::parseImpl(), mailboxGroup::parseImpl(), and mailboxList::parseImpl().