|
BDE 4.39.x Production Release
|
#include <balxml_hexparser.h>
This is a push parser for supported Hex types (bsl::vector<char> or bsl::string).
See balxml_hexparser
Public Member Functions | |
| HexParser () | |
| int | beginParse (TYPE *object) |
| int | endParse () |
| template<class INPUT_ITERATOR > | |
| int | pushCharacters (INPUT_ITERATOR begin, INPUT_ITERATOR end) |
| balxml::HexParser< TYPE >::HexParser | ( | ) |
Create a parser for parsing Hex types.
| int balxml::HexParser< TYPE >::beginParse | ( | TYPE * | object | ) |
Prepare the parser to start parsing a new value and associate the specified object with the parser. Return 0 if successful and non-zero otherwise.
| int balxml::HexParser< TYPE >::endParse | ( | ) |
Ends the parse operation and store the value parsed from the pushed characters into the associated object. Return 0 if successful and non-zero otherwise.
| int balxml::HexParser< TYPE >::pushCharacters | ( | INPUT_ITERATOR | begin, |
| INPUT_ITERATOR | end | ||
| ) |
Push the characters ranging from the specified begin up to (but not including) the specified end into this parser. Return 0 if successful and non-zero otherwise. The parameterized INPUT_ITERATOR must be dereferenceable to a char value.