Inherits YGP::ParseSkip.
Public Member Functions | |
CBParseSkip (unsigned int bytes, PARSECALLBACK callback) | |
CBParseSkip (const CBParseSkip &other) | |
virtual | ~CBParseSkip () |
CBParseSkip & | operator= (const CBParseSkip &) |
void | setCallback (PARSECALLBACK callback) |
Protected Member Functions | |
virtual int | found (const char *pFoundValue, unsigned int len) |
See ParseObject for a general description of the parser and ParseSkip for a description of how this class parses its object.
YGP::CBParseSkip::CBParseSkip | ( | unsigned int | bytes, | |
PARSECALLBACK | callback | |||
) | [inline] |
Constructor; with callback to call if object is found.
YGP::CBParseSkip::CBParseSkip | ( | const CBParseSkip & | other | ) | [inline] |
Copy constructor.
YGP::CBParseSkip::~CBParseSkip | ( | ) | [virtual] |
Destructor.
int YGP::CBParseSkip::found | ( | const char * | pFoundValue, | |
unsigned int | len | |||
) | [protected, virtual] |
Calls the defined callback with the passed parameters and returns its result.
pFoundValue | Pointer to found value | |
len | Length of found data |
Reimplemented from YGP::ParseObject.
CBParseSkip & YGP::CBParseSkip::operator= | ( | const CBParseSkip & | other | ) |
void YGP::CBParseSkip::setCallback | ( | PARSECALLBACK | callback | ) | [inline] |
Sets the callback to the passed value.