Inherits YGP::ParseAttomic.
Public Member Functions | |
OFParseAttomic (const char *value, const char *description, T &objToNotify, PTCALLBACK callback, unsigned int max=1, unsigned int min=1, bool skipWhitespace=true) | |
OFParseAttomic (const OFParseAttomic &other) | |
virtual | ~OFParseAttomic () |
OFParseAttomic & | operator= (const OFParseAttomic &other) |
Protected Member Functions | |
virtual int | found (const char *pFoundValue, unsigned int len) |
See ParseObject for a general description of the parser and ParseAttomic for a description of how this class parses its object.
YGP::OFParseAttomic< T >::OFParseAttomic | ( | const char * | value, | |
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::OFParseAttomic< T >::OFParseAttomic | ( | const OFParseAttomic< T > & | other | ) | [inline] |
Copy constructor.
virtual YGP::OFParseAttomic< T >::~OFParseAttomic | ( | ) | [inline, virtual] |
Destructor.
virtual int YGP::OFParseAttomic< T >::found | ( | const char * | pFoundValue, | |
unsigned int | len | |||
) | [inline, protected, virtual] |
OFParseAttomic& YGP::OFParseAttomic< T >::operator= | ( | const OFParseAttomic< T > & | other | ) | [inline] |
Assignment operator.