muParserX 2.0.0
Loading...
Searching...
No Matches
mup::DblValReader Class Reference

A class for reading floating point values from an expression string. More...

#include <mpValReader.h>

Inheritance diagram for mup::DblValReader:
Collaboration diagram for mup::DblValReader:

Public Member Functions

virtual bool IsValue (const char_type *a_szExpr, int &a_iPos, Value &a_fVal) override
 Check a certain position in an expression for the presence of a value.
 
virtual IValueReaderClone (TokenReader *pTokenReader) const override
 Clone this ValueReader object.
 
- Public Member Functions inherited from mup::IValueReader
virtual void SetParent (TokenReader *pTokenReader)
 Assign this value reader object to a token reader object.
 

Detailed Description

A class for reading floating point values from an expression string.

Member Function Documentation

◆ Clone()

IValueReader * mup::DblValReader::Clone ( TokenReader * pParent) const
overridevirtual

Clone this ValueReader object.

Returns
Pointer to the cloned value reader object.

Implements mup::IValueReader.

Here is the call graph for this function:

◆ IsValue()

bool mup::DblValReader::IsValue ( const char_type * a_szExpr,
int & a_iPos,
Value & a_Val )
overridevirtual

Check a certain position in an expression for the presence of a value.

Parameters
a_iPos[in/out] Reference to an integer value representing the current position of the parser in the expression.
a_ValIf a value is found it is stored in a_Val
Returns
true if a value was found

Implements mup::IValueReader.

Here is the call graph for this function:


muParserX documentation - (C) 2010 Ingo Berg