Inherits YGP::ParseUpperExact.
Public Member Functions | |
| CBParseUpperExact (const char *value, const char *description, PARSECALLBACK callback, bool skipWhitespace=true) | |
| CBParseUpperExact (const char *value, const char *description, PARSECALLBACK callback, unsigned int max, unsigned int min, bool skipWhitespace=true) | |
| CBParseUpperExact (const CBParseUpperExact &other) | |
| virtual | ~CBParseUpperExact () |
| CBParseUpperExact & | operator= (const CBParseUpperExact &other) |
| void | setCallback (PARSECALLBACK callback) |
Protected Member Functions | |
| virtual int | found (const char *pFoundValue, unsigned int len) |
When an object is found the passed callback is called.
See ParseObject for a general description of the parser and ParseUpperExact for a description of how this class parses its object.
| YGP::CBParseUpperExact::CBParseUpperExact | ( | const char * | value, | |
| const char * | description, | |||
| PARSECALLBACK | callback, | |||
| bool | skipWhitespace = true | |||
| ) | [inline] |
Constructor; with callback to call if object is found.
| YGP::CBParseUpperExact::CBParseUpperExact | ( | const char * | value, | |
| const char * | description, | |||
| PARSECALLBACK | callback, | |||
| unsigned int | max, | |||
| unsigned int | min, | |||
| bool | skipWhitespace = true | |||
| ) | [inline] |
Constructor setting explicit the length ot the data to parse; with callback to call if object is found.
| YGP::CBParseUpperExact::CBParseUpperExact | ( | const CBParseUpperExact & | other | ) | [inline] |
Sets the callback to the passed value.
| YGP::CBParseUpperExact::~CBParseUpperExact | ( | ) | [virtual] |
Destructor.
| int YGP::CBParseUpperExact::found | ( | const char * | pFoundValue, | |
| unsigned int | len | |||
| ) | [protected, virtual] |
Calls the defined callback with the passed parameter and returns its result.
| pFoundValue | Pointer to found value | |
| len | Length of found data |
Reimplemented from YGP::ParseObject.
| CBParseUpperExact & YGP::CBParseUpperExact::operator= | ( | const CBParseUpperExact & | other | ) |
| void YGP::CBParseUpperExact::setCallback | ( | PARSECALLBACK | callback | ) | [inline] |
Sets the callback to the passed value.