Rosetta  2020.37
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | List of all members
numeric::expression_parser::BooleanExpressionCreator Class Reference

#include <Arithmetic.hh>

Inheritance diagram for numeric::expression_parser::BooleanExpressionCreator:
Inheritance graph
[legend]

Public Types

typedef SimpleExpressionCreator parent
 
typedef ExpressionCreator grandparent
 

Public Member Functions

 BooleanExpressionCreator ()
 
 BooleanExpressionCreator (std::list< std::string > const &varnames)
 
ExpressionCOP handle_function_expression (FunctionTokenCOP function, utility::vector1< ExpressionCOP > const &args) override
 Factory method to be implemented by derived classes which may wish to handle function expressions in a specific manner. More...
 
- Public Member Functions inherited from numeric::expression_parser::SimpleExpressionCreator
 SimpleExpressionCreator ()
 
 SimpleExpressionCreator (std::list< std::string > const &varnames)
 
void add_variable (std::string const &varname)
 
ExpressionCOP handle_variable_expression (ArithmeticASTValue const &) override
 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
 
- Public Member Functions inherited from numeric::expression_parser::ExpressionCreator
 ExpressionCreator ()
 
 ~ExpressionCreator () override
 
void visit (ArithmeticASTExpression const &) override
 
void visit (ArithmeticASTAndClause const &) override
 
void visit (ArithmeticASTOrClause const &) override
 
void visit (ArithmeticASTFunction const &) override
 
void visit (ArithmeticASTTerm const &) override
 
void visit (ArithmeticASTFactor const &) override
 
void visit (ArithmeticASTValue const &) override
 
void visit (ArithmeticASTRestTerm const &) override
 
void visit (ArithmeticASTRestAndClause const &) override
 
void visit (ArithmeticASTRestOrClause const &) override
 
void visit (ArithmeticASTRestExpression const &) override
 
void visit (ArithmeticASTNode const &) override
 
ExpressionCOP create_expression_tree (ArithmeticASTExpression const &)
 
- Public Member Functions inherited from numeric::expression_parser::ASTVisitor
 ~ASTVisitor () override
 Automatically generated virtual destructor for class deriving directly from VirtualBase. More...
 
- Public Member Functions inherited from utility::VirtualBase
 VirtualBase ()=default
 Default constructor. More...
 
virtual ~VirtualBase ()=default
 The virtual destructor is one of the main reasons for the VirtualBase class. More...
 
 VirtualBase (VirtualBase const &)=default
 
 VirtualBase (VirtualBase &&)=default
 
VirtualBaseoperator= (VirtualBase const &)=default
 
VirtualBaseoperator= (VirtualBase &&)=default
 

Member Typedef Documentation

Constructor & Destructor Documentation

numeric::expression_parser::BooleanExpressionCreator::BooleanExpressionCreator ( )
numeric::expression_parser::BooleanExpressionCreator::BooleanExpressionCreator ( std::list< std::string > const &  varnames)

Member Function Documentation

ExpressionCOP numeric::expression_parser::BooleanExpressionCreator::handle_function_expression ( FunctionTokenCOP  function,
utility::vector1< ExpressionCOP > const &  args 
)
overridevirtual

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.


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