muParserX
2.0.0
|
Interface for custom value reader objects.Value readers are objects used for identifying values in an expression. More...
Public Member Functions | |
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. More... | |
virtual IValueReader * | Clone (TokenReader *pParent) const =0 |
Clone this ValueReader object. More... | |
virtual void | SetParent (TokenReader *pTokenReader) |
Assign this value reader object to a token reader object. More... | |
Interface for custom value reader objects.
Value readers are objects used for identifying values in an expression.
|
pure virtual |
Clone this ValueReader object.
Implemented in mup::StrValReader, mup::BinValReader, mup::HexValReader, mup::BoolValReader, and mup::DblValReader.
|
pure virtual |
Check a certain position in an expression for the presence of a value.
a_iPos | [in/out] Reference to an integer value representing the current position of the parser in the expression. |
a_Val | If a value is found it is stored in a_Val |
Implemented in mup::StrValReader, mup::BinValReader, mup::HexValReader, mup::BoolValReader, and mup::DblValReader.
|
virtual |
Assign this value reader object to a token reader object.
The token reader does the tokenization of the expression. It uses this value reader to detect values.