VMime
|
Public Member Functions | |
relay () | |
relay (const relay &r) | |
shared_ptr< component > | clone () const |
void | copyFrom (const component &other) |
relay & | operator= (const relay &other) |
const std::vector< shared_ptr < component > > | getChildComponents () |
const string & | getFrom () const |
void | setFrom (const string &from) |
const string & | getVia () const |
void | setVia (const string &via) |
const string & | getBy () const |
void | setBy (const string &by) |
const string & | getId () const |
void | setId (const string &id) |
const string & | getFor () const |
void | setFor (const string &for_) |
const datetime & | getDate () const |
void | setDate (const datetime &date) |
const std::vector< string > & | getWithList () const |
std::vector< string > & | getWithList () |
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 () |
Trace information about a relay (basic type).
relay | ( | ) |
References relay::copyFrom().
|
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.
Referenced by relay::operator=(), and relay::relay().
|
protectedvirtual |
Implements component.
References vmime::count(), and text::FORCE_NO_ENCODING.
const string & getBy | ( | ) | const |
|
virtual |
Return the list of children of this component.
Implements component.
const datetime & getDate | ( | ) | const |
const string & getFor | ( | ) | const |
const string & getFrom | ( | ) | const |
const string & getId | ( | ) | const |
const string & getVia | ( | ) | const |
const std::vector< string > & getWithList | ( | ) | const |
std::vector< string > & getWithList | ( | ) |
References relay::copyFrom().
|
protectedvirtual |
Reimplemented from component.
References vmime::end(), stringUtils::isStringEqualNoCase(), and vmime::npos.
void setBy | ( | const string & | by | ) |
void setDate | ( | const datetime & | date | ) |
void setFor | ( | const string & | for_ | ) |
void setFrom | ( | const string & | from | ) |
void setId | ( | const string & | id | ) |
void setVia | ( | const string & | via | ) |