#include <Logic.h>
|  | 
| virtual void | print (std::ostream &, size_t indSize, size_t indLevel) const override | 
|  | 
Definition at line 87 of file Logic.h.
 
◆ NodeType
◆ LogicOPS() [1/2]
      
        
          | TrigConf::LogicOPS::LogicOPS | ( | NodeType | nodeType | ) |  | 
      
 
 
◆ LogicOPS() [2/2]
      
        
          | TrigConf::LogicOPS::LogicOPS | ( | NodeType | nodeType, | 
        
          |  |  | std::unique_ptr< Logic > && | left | 
        
          |  | ) |  |  | 
      
 
 
◆ ~LogicOPS()
  
  | 
        
          | virtual TrigConf::LogicOPS::~LogicOPS | ( |  | ) |  |  | overridevirtualdefault | 
 
 
◆ addSubLogic()
      
        
          | void TrigConf::LogicOPS::addSubLogic | ( | std::unique_ptr< Logic > && | right | ) |  | 
      
 
 
◆ elements()
  
  | 
        
          | virtual std::map<std::string, bool> TrigConf::Logic::elements | ( |  | ) | const |  | pure virtualinherited | 
 
 
◆ elementsCount()
  
  | 
        
          | virtual std::map<std::string, unsigned int> TrigConf::Logic::elementsCount | ( |  | ) | const |  | pure virtualinherited | 
 
 
◆ evaluate() [1/2]
  
  | 
        
          | virtual bool TrigConf::Logic::evaluate | ( | const std::map< std::string, bool > & | elementsState | ) | const |  | pure virtualinherited | 
 
 
◆ evaluate() [2/2]
  
  | 
        
          | virtual bool TrigConf::Logic::evaluate | ( | const std::map< std::string, unsigned int > & | elementsCount | ) | const |  | pure virtualinherited | 
 
 
◆ 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 |  | overrideprivatevirtual | 
 
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 | ( |  | ) |  | 
      
 
 
◆ 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 |  | private | 
 
 
The documentation for this class was generated from the following files: