Design Patterns
Main Page
Namespaces
Classes
Files
File List
boolean_exp_interface.h
Go to the documentation of this file.
1
// Based on "Design Patterns: Elements of Reusable Object-Oriented Software"
2
// book by Erich Gamma, John Vlissides, Ralph Johnson, and Richard Helm
3
//
4
// Created by Bartosz Rachwal. The National Institute of Advanced Industrial Science and Technology, Japan.
5
6
#ifndef OPERATIONAL_INTERPRETER_BOOLEAN_EXP_INTERFACE_H_
7
#define OPERATIONAL_INTERPRETER_BOOLEAN_EXP_INTERFACE_H_
8
9
#include "
interpreter_context_interface.h
"
10
11
#include <string>
12
13
namespace
operational
14
{
15
namespace
interpreter
16
{
17
class
BooleanExpInterface
18
{
19
public
:
20
virtual
~BooleanExpInterface
() { };
21
22
virtual
bool
Evaluate
(
InterpreterContextInterface
& context) = 0;
23
virtual
BooleanExpInterface
*
Replace
(
const
std::string& name,
BooleanExpInterface
& expression) = 0;
24
virtual
BooleanExpInterface
*
Copy
()
const
= 0;
25
};
26
}
27
}
28
29
#endif
30
operational::interpreter::BooleanExpInterface::Copy
virtual BooleanExpInterface * Copy() const =0
operational::interpreter::BooleanExpInterface::~BooleanExpInterface
virtual ~BooleanExpInterface()
Definition:
boolean_exp_interface.h:20
operational
Definition:
application.cc:10
operational::interpreter::BooleanExpInterface
Definition:
boolean_exp_interface.h:17
operational::interpreter::BooleanExpInterface::Evaluate
virtual bool Evaluate(InterpreterContextInterface &context)=0
operational::interpreter::BooleanExpInterface::Replace
virtual BooleanExpInterface * Replace(const std::string &name, BooleanExpInterface &expression)=0
operational::interpreter::InterpreterContextInterface
Definition:
interpreter_context_interface.h:17
interpreter_context_interface.h
src
operational
src
interpreter
boolean_exp_interface.h
Generated by
1.8.10