muParserX 2.0.0
|
A class for reading hex values from an expression string. More...
#include <mpValReader.h>
Public Member Functions | |
virtual bool | IsValue (const char_type *a_szExpr, int &a_iPos, Value &a_fVal) override |
Try to read a hex value from a given position in the expression. | |
virtual IValueReader * | Clone (TokenReader *pTokenReader) const override |
Clone this ValueReader object. | |
![]() | |
virtual bool | IsValue (const char_type *a_szExpr, int &a_iPos, Value &a_Val)=0 |
Check a certain position in an expression for the presence of a value. | |
virtual IValueReader * | Clone (TokenReader *pParent) const =0 |
Clone this ValueReader object. | |
virtual void | SetParent (TokenReader *pTokenReader) |
Assign this value reader object to a token reader object. | |
A class for reading hex values from an expression string.
|
overridevirtual |
Clone this ValueReader object.
Implements mup::IValueReader.
|
overridevirtual |
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.