Design Patterns
operational::interpreter::VariableExp Class Reference

#include <variable_exp.h>

Inheritance diagram for operational::interpreter::VariableExp:
Collaboration diagram for operational::interpreter::VariableExp:

Public Member Functions

 VariableExp (const std::string &name)
 
virtual bool Evaluate (InterpreterContextInterface &context) override
 
virtual BooleanExpInterfaceReplace (const std::string &name, BooleanExpInterface &expression) override
 
virtual BooleanExpInterfaceCopy () const override
 
virtual std::string name () const override
 
- Public Member Functions inherited from operational::interpreter::BooleanExpInterface
virtual ~BooleanExpInterface ()
 
- Public Member Functions inherited from operational::interpreter::VariableExpInterface
virtual ~VariableExpInterface ()
 

Constructor & Destructor Documentation

operational::interpreter::VariableExp::VariableExp ( const std::string &  name)
explicit

Here is the caller graph for this function:

Member Function Documentation

BooleanExpInterface * operational::interpreter::VariableExp::Copy ( ) const
overridevirtual

Implements operational::interpreter::BooleanExpInterface.

Here is the call graph for this function:

bool operational::interpreter::VariableExp::Evaluate ( InterpreterContextInterface context)
overridevirtual

Implements operational::interpreter::BooleanExpInterface.

Here is the call graph for this function:

std::string operational::interpreter::VariableExp::name ( ) const
overridevirtual
BooleanExpInterface * operational::interpreter::VariableExp::Replace ( const std::string &  name,
BooleanExpInterface expression 
)
overridevirtual

Implements operational::interpreter::BooleanExpInterface.

Here is the call graph for this function:


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