Inherits YGP::ParseToText.
Public Member Functions | |
OFParseToText (const char *abort, const char *description, T &objToNotify, PTCALLBACK callback, unsigned int max=1, unsigned int min=1, bool skipWhitespace=true) | |
OFParseToText (const OFParseToText &other) | |
virtual | ~OFParseToText () |
OFParseToText & | operator= (const OFParseToText &other) |
Protected Member Functions | |
virtual int | found (const char *pFoundValue, unsigned int len) |
Parsing of this element is stopped, after the specified text is found (or the maximal cardinality is reached).
If this text has been found, the callback is called with the name of the scanned text passed als first parameter and the number of found entries as second.
See ParseObject for a general description of the parser and ParseText for a description of how this class parses its object.
YGP::OFParseToText< T >::OFParseToText | ( | const char * | abort, | |
const char * | description, | |||
T & | objToNotify, | |||
PTCALLBACK | callback, | |||
unsigned int | max = 1 , |
|||
unsigned int | min = 1 , |
|||
bool | skipWhitespace = true | |||
) | [inline] |
Constructor; with callback to call if object is found.
YGP::OFParseToText< T >::OFParseToText | ( | const OFParseToText< T > & | other | ) | [inline] |
Copy constructor.
virtual YGP::OFParseToText< T >::~OFParseToText | ( | ) | [inline, virtual] |
Destructor.
virtual int YGP::OFParseToText< T >::found | ( | const char * | pFoundValue, | |
unsigned int | len | |||
) | [inline, protected, virtual] |
OFParseToText& YGP::OFParseToText< T >::operator= | ( | const OFParseToText< T > & | other | ) | [inline] |
Assignment operator.