Rosetta Utilities  2014.35
Public Types | Public Member Functions | List of all members
numeric::expression_parser::BooleanExpressionCreator Class Reference

#include <Arithmetic.hh>

Public Types

typedef SimpleExpressionCreator parent
 
typedef ExpressionCreator grandparent
 
- Public Types inherited from utility::pointer::ReferenceCount
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...
 
- Public Member Functions inherited from numeric::expression_parser::SimpleExpressionCreator
 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
 
- Public Member Functions inherited from numeric::expression_parser::ExpressionCreator
 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 &)
 
- Public Member Functions inherited from numeric::expression_parser::ASTVisitor
virtual ~ASTVisitor ()
 Automatically generated virtual destructor for class deriving directly from ReferenceCount. More...
 
- Public Member Functions inherited from utility::pointer::ReferenceCount
void ctor ()
 
virtual ~ReferenceCount ()
 Destructor. More...
 
Size ref_count () const
 Reference count. More...
 

Additional Inherited Members

- Protected Member Functions inherited from utility::pointer::ReferenceCount
 ReferenceCount ()
 Default constructor. More...
 
 ReferenceCount (ReferenceCount const &)
 Copy constructor. More...
 
ReferenceCountoperator= (ReferenceCount const &)
 Copy assignment. More...
 

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 
)
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.


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