#include <LogicalExpressions.h>
Public Member Functions | |
| LogicalExpressions () | |
| virtual | ~LogicalExpressions () |
| void | addCondition (const std::string &name, const std::string &expression) |
| void | clear () |
| bool | conditionIsTrue (const std::string &name) |
| bool | expressionIsTrue (const std::string &expression) |
| void | setValue (const std::string &key, bool val) |
Protected Attributes | |
| ConditionsMap | _condMap |
| ResultMap | _resultMap |
Definition at line 143 of file LogicalExpressions.h.
|
|
C'tor. Definition at line 16 of file LogicalExpressions.cc. References setValue(). |
|
|
Virtual d'tor. Definition at line 152 of file LogicalExpressions.h. |
|
||||||||||||
|
Add a new named logical expression formed out of [!,(,&&,||,),value], e.g. Definition at line 24 of file LogicalExpressions.cc. References _condMap. Referenced by marlin::ProcessorMgr::addActiveProcessor(). |
|
|
Clear all boolean values Definition at line 30 of file LogicalExpressions.cc. References _resultMap, and setValue(). Referenced by marlin::ProcessorMgr::processEvent(). |
|
|
True if the named condition (stored with addCondition) is true with the current values Definition at line 42 of file LogicalExpressions.cc. References _condMap, and expressionIsTrue(). Referenced by marlin::ProcessorMgr::processEvent(). |
|
|
True if the given expression is true with the current values Definition at line 47 of file LogicalExpressions.cc. References _resultMap. Referenced by conditionIsTrue(). |
|
||||||||||||
|
Set the the boolean value for the given key Definition at line 96 of file LogicalExpressions.cc. References _resultMap. Referenced by clear(), LogicalExpressions(), and marlin::ProcessorMgr::setProcessorReturnValue(). |
|
|
Definition at line 174 of file LogicalExpressions.h. Referenced by addCondition(), and conditionIsTrue(). |
|
|
Definition at line 175 of file LogicalExpressions.h. Referenced by clear(), expressionIsTrue(), and setValue(). |
1.3.9.1