SMTK  @SMTK_VERSION@
Simulation Modeling Tool Kit
Public Member Functions | List of all members
smtk::common::InfixExpressionGrammar Class Reference

Public Member Functions

 InfixExpressionGrammar (const InfixExpressionGrammar &other)=default
 
void addFunction (const std::string &name, const std::function< double(double)> &f)
 
const std::map< std::string, InfixFunction > & functions () const
 
void setSubsymbolVisitor (const SubsymbolVisitor &f)
 
SubsymbolVisitor subsymbolVisitor () const
 
double evaluate (const std::string &expression, InfixExpressionError &err) const
 
InfixExpressionError testExpressionSyntax (const std::string &expression) const
 

The documentation for this class was generated from the following files: