CMS 3D CMS Logo

List of all members | Public Member Functions | Protected Attributes
triggerExpression::BinaryOperator Class Reference

#include <TriggerExpressionOperators.h>

Inheritance diagram for triggerExpression::BinaryOperator:
triggerExpression::Evaluator triggerExpression::OperatorAnd triggerExpression::OperatorOr triggerExpression::OperatorXor

Public Member Functions

 BinaryOperator (Evaluator *arg1, Evaluator *arg2)
 
void init (const Data &data) override
 
- Public Member Functions inherited from triggerExpression::Evaluator
virtual void dump (std::ostream &out) const =0
 
 Evaluator ()
 
virtual bool operator() (const Data &data) const =0
 
virtual ~Evaluator ()
 

Protected Attributes

std::unique_ptr< Evaluatorm_arg1
 
std::unique_ptr< Evaluatorm_arg2
 

Detailed Description

Definition at line 22 of file TriggerExpressionOperators.h.

Constructor & Destructor Documentation

◆ BinaryOperator()

triggerExpression::BinaryOperator::BinaryOperator ( Evaluator arg1,
Evaluator arg2 
)
inline

Definition at line 24 of file TriggerExpressionOperators.h.

24 : m_arg1(arg1), m_arg2(arg2) {}

Member Function Documentation

◆ init()

void triggerExpression::BinaryOperator::init ( const Data data)
inlineoverridevirtual

Reimplemented from triggerExpression::Evaluator.

Definition at line 27 of file TriggerExpressionOperators.h.

27  {
28  m_arg1->init(data);
29  m_arg2->init(data);
30  }

References data, m_arg1, and m_arg2.

Member Data Documentation

◆ m_arg1

std::unique_ptr<Evaluator> triggerExpression::BinaryOperator::m_arg1
protected

◆ m_arg2

std::unique_ptr<Evaluator> triggerExpression::BinaryOperator::m_arg2
protected
triggerExpression::BinaryOperator::m_arg1
std::unique_ptr< Evaluator > m_arg1
Definition: TriggerExpressionOperators.h:33
triggerExpression::BinaryOperator::m_arg2
std::unique_ptr< Evaluator > m_arg2
Definition: TriggerExpressionOperators.h:34
data
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:79