#include <Logic.h>
|
virtual void | print (std::ostream &, size_t indSize, size_t indLevel) const override |
|
Definition at line 113 of file Logic.h.
◆ NodeType
◆ LogicOR() [1/2]
TrigConf::LogicOR::LogicOR |
( |
| ) |
|
◆ LogicOR() [2/2]
TrigConf::LogicOR::LogicOR |
( |
std::unique_ptr< Logic > && |
left | ) |
|
◆ ~LogicOR()
virtual TrigConf::LogicOR::~LogicOR |
( |
| ) |
|
|
overridevirtualdefault |
◆ addSubLogic()
void TrigConf::LogicOPS::addSubLogic |
( |
std::unique_ptr< Logic > && |
right | ) |
|
|
inherited |
◆ elements()
std::map< std::string, bool > TrigConf::LogicOR::elements |
( |
| ) |
const |
|
overridevirtual |
◆ elementsCount()
std::map< std::string, unsigned int > TrigConf::LogicOR::elementsCount |
( |
| ) |
const |
|
overridevirtual |
◆ evaluate() [1/2]
bool TrigConf::LogicOR::evaluate |
( |
const std::map< std::string, bool > & |
elementsState | ) |
const |
|
overridevirtual |
◆ evaluate() [2/2]
bool TrigConf::LogicOR::evaluate |
( |
const std::map< std::string, unsigned int > & |
elementsCount | ) |
const |
|
overridevirtual |
◆ expression()
const std::string & TrigConf::Logic::expression |
( |
| ) |
const |
|
inherited |
◆ negate()
bool TrigConf::Logic::negate |
( |
| ) |
const |
|
inherited |
◆ nodeType()
NodeType TrigConf::Logic::nodeType |
( |
| ) |
const |
|
inlineinherited |
◆ print() [1/2]
void TrigConf::LogicOPS::print |
( |
std::ostream & |
o, |
|
|
size_t |
indSize, |
|
|
size_t |
indLevel |
|
) |
| const |
|
overrideprivatevirtualinherited |
Implements TrigConf::Logic.
Definition at line 134 of file Logic.cxx.
135 o << std::string(indSize*indLevel,
' ');
136 if(
negate() ) { o <<
"NOT "; }
138 for(
auto & subLogic :
m_subs ) {
139 subLogic->print(o,indSize, indLevel+1);
141 o << std::string(indSize*indLevel,
' ') <<
")" << std::endl;
◆ print() [2/2]
void TrigConf::Logic::print |
( |
std::ostream & |
o = std::cout | ) |
const |
|
inherited |
◆ setExpression()
void TrigConf::Logic::setExpression |
( |
const std::string & |
expr | ) |
|
|
inherited |
◆ setNegate()
void TrigConf::Logic::setNegate |
( |
bool |
negate = true | ) |
|
|
inherited |
◆ subLogics()
◆ takeSubLogics()
std::vector< std::unique_ptr< TrigConf::Logic > > TrigConf::LogicOPS::takeSubLogics |
( |
| ) |
|
|
inherited |
◆ m_expression
std::string TrigConf::Logic::m_expression { "" } |
|
privateinherited |
◆ m_negate
bool TrigConf::Logic::m_negate { false } |
|
privateinherited |
◆ m_nodeType
◆ m_subs
std::vector<std::unique_ptr<Logic> > TrigConf::LogicOPS::m_subs |
|
privateinherited |
The documentation for this class was generated from the following files: