Inherits YGP::ParseExact.
Public Member Functions | |
OFParseExact (const char *value, const char *description, T &objToNotify, PTCALLBACK callback, bool skipWhitespace=true) | |
OFParseExact (const char *value, const char *description, T &objToNotify, PTCALLBACK callback, unsigned int max, unsigned int min, bool skipWhitespace=true) | |
OFParseExact (const OFParseExact &other) | |
virtual | ~OFParseExact () |
OFParseExact & | operator= (const OFParseExact &other) |
Protected Member Functions | |
virtual int | found (const char *pFoundValue, unsigned int len) |
If an object is found the passed callback is called
See ParseObject for a general description of the parser and ParseExact for a description of how this class parses its object.
YGP::OFParseExact< T >::OFParseExact | ( | const char * | value, | |
const char * | description, | |||
T & | objToNotify, | |||
PTCALLBACK | callback, | |||
bool | skipWhitespace = true | |||
) | [inline] |
Constructor; with callback to call if object is found.
YGP::OFParseExact< T >::OFParseExact | ( | const char * | value, | |
const char * | description, | |||
T & | objToNotify, | |||
PTCALLBACK | callback, | |||
unsigned int | max, | |||
unsigned int | min, | |||
bool | skipWhitespace = true | |||
) | [inline] |
Constructor; with callback to call if object is found.
YGP::OFParseExact< T >::OFParseExact | ( | const OFParseExact< T > & | other | ) | [inline] |
Copy constructor.
virtual YGP::OFParseExact< T >::~OFParseExact | ( | ) | [inline, virtual] |
Destructor.
virtual int YGP::OFParseExact< T >::found | ( | const char * | pFoundValue, | |
unsigned int | len | |||
) | [inline, protected, virtual] |
OFParseExact& YGP::OFParseExact< T >::operator= | ( | const OFParseExact< T > & | other | ) | [inline] |
Assignment operator.