muParserX
2.0.0
|
A class for reading hex values from an expression string. More...
Public Member Functions | |
virtual bool | IsValue (const char_type *a_szExpr, int &a_iPos, Value &a_fVal) |
Try to read a hex value from a given position in the expression. More... | |
virtual IValueReader * | Clone (TokenReader *pTokenReader) const |
Clone this ValueReader object. More... | |
![]() | |
virtual void | SetParent (TokenReader *pTokenReader) |
Assign this value reader object to a token reader object. More... | |
A class for reading hex values from an expression string.
|
virtual |
Clone this ValueReader object.
Implements mup::IValueReader.
Try to read a hex value from a given position in the expression.
a_szExpr | The Expression | |
[in/out] | a_iPos The current position in the expression | |
[out] | a_val | The value that was read |
Hex values must start with a "0x" characters. The position a_iPos is advanded in case a hex value was found.
Implements mup::IValueReader.