![]() |
Rosetta Utilities
2014.35
|
#include <Arithmetic.hh>
Public Types | |
typedef SimpleExpressionCreator | parent |
typedef ExpressionCreator | grandparent |
![]() | |
typedef platform::Size | Size |
typedef platform::Size | size_type |
Public Member Functions | |
BooleanExpressionCreator () | |
BooleanExpressionCreator (std::list< std::string > const &varnames) | |
virtual ExpressionCOP | handle_function_expression (FunctionTokenCOP function, utility::vector1< ExpressionCOP > const &args) |
Factory method to be implemented by derived classes which may wish to handle function expressions in a specific manner. More... | |
![]() | |
SimpleExpressionCreator () | |
SimpleExpressionCreator (std::list< std::string > const &varnames) | |
void | add_variable (std::string const &varname) |
virtual ExpressionCOP | handle_variable_expression (ArithmeticASTValue const &) |
Factory method to be implemented by derived classes which may wish to handle variable expressions in a specific manner. More... | |
VariableExpressionOP | get_variable (std::string const &varname) |
std::map< std::string, VariableExpressionOP > | variables () const |
![]() | |
ExpressionCreator () | |
~ExpressionCreator () | |
virtual void | visit (ArithmeticASTExpression const &) |
virtual void | visit (ArithmeticASTFunction const &) |
virtual void | visit (ArithmeticASTTerm const &) |
virtual void | visit (ArithmeticASTFactor const &) |
virtual void | visit (ArithmeticASTValue const &) |
virtual void | visit (ArithmeticASTRestTerm const &) |
virtual void | visit (ArithmeticASTRestExpression const &) |
virtual void | visit (ArithmeticASTNode const &) |
ExpressionCOP | create_expression_tree (ArithmeticASTExpression const &) |
![]() | |
virtual | ~ASTVisitor () |
Automatically generated virtual destructor for class deriving directly from ReferenceCount. More... | |
![]() | |
void | ctor () |
virtual | ~ReferenceCount () |
Destructor. More... | |
Size | ref_count () const |
Reference count. More... | |
Additional Inherited Members | |
![]() | |
ReferenceCount () | |
Default constructor. More... | |
ReferenceCount (ReferenceCount const &) | |
Copy constructor. More... | |
ReferenceCount & | operator= (ReferenceCount const &) |
Copy assignment. More... | |
numeric::expression_parser::BooleanExpressionCreator::BooleanExpressionCreator | ( | ) |
numeric::expression_parser::BooleanExpressionCreator::BooleanExpressionCreator | ( | std::list< std::string > const & | varnames | ) |
|
virtual |
Factory method to be implemented by derived classes which may wish to handle function expressions in a specific manner.
Reimplemented from numeric::expression_parser::ExpressionCreator.
References numeric::expression_parser::ExpressionCreator::handle_function_expression(), and utility_exit_with_message.