#include <expressionparser.h>
Inheritance diagram for ParamStringParser< MapT, ParserT >:
Use this for new code, instead of anything in ExprParser or ExpressionParser.
Definition at line 199 of file expressionparser.h.
Public Types | |
typedef ParserT | ParserType |
typedef MapT | MapType |
Public Methods | |
ParamStringParser (MapType &m) | |
virtual StringParser * | clone () const |
Return a duplicate of the current object. | |
virtual double & | parse (const string &s, double &x) const |
Parse into a double. | |
virtual int & | parse (const string &s, int &x) const |
Parse into an int. | |
virtual Tristate & | parse (const string &s, Tristate &x) const |
Parse into a Tristate. | |
virtual string & | parse (const string &s, string &x) const |
Parse into a string. | |
virtual double *& | parse (const string &s, double *&x) const |
Parse into a pointer to a double. | |
virtual int *& | parse (const string &s, int *&x) const |
Parse into a pointer to an int. | |
virtual Tristate *& | parse (const string &s, Tristate *&x) const |
Parse into a pointer to a Tristate. | |
virtual string *& | parse (const string &s, string *&x) const |
Parse into a pointer to a string. | |
virtual string | parse (const string &s) const |
Short version of parse() for simple string substitution. | |
virtual arglist & | parse (const string &s, arglist &x) const |
Parse into a vector of strings by breaking at word boundaries. | |
virtual void | error (const string &s) const |
This implementation ignores errors (since it doesn't generate any), but derived classes may redefine this function if they wish (for instance, to write messages to the console). |