Design Patterns
operational::interpreter::Constant Class Reference

#include <constant.h>

Inheritance diagram for operational::interpreter::Constant:
Collaboration diagram for operational::interpreter::Constant:

Public Member Functions

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

Constructor & Destructor Documentation

operational::interpreter::Constant::Constant ( const bool &  value)
explicit

Here is the caller graph for this function:

Member Function Documentation

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

Implements operational::interpreter::BooleanExpInterface.

Here is the call graph for this function:

bool operational::interpreter::Constant::Evaluate ( InterpreterContextInterface context)
overridevirtual
BooleanExpInterface * operational::interpreter::Constant::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: