CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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)
 
- 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

boost::scoped_ptr< Evaluatorm_arg1
 
boost::scoped_ptr< Evaluatorm_arg2
 

Detailed Description

Definition at line 26 of file TriggerExpressionOperators.h.

Constructor & Destructor Documentation

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

Definition at line 28 of file TriggerExpressionOperators.h.

28  :
29  m_arg1(arg1),
30  m_arg2(arg2)
31  { }
boost::scoped_ptr< Evaluator > m_arg2
boost::scoped_ptr< Evaluator > m_arg1

Member Function Documentation

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

Reimplemented from triggerExpression::Evaluator.

Definition at line 34 of file TriggerExpressionOperators.h.

References m_arg1, and m_arg2.

34  {
35  m_arg1->init(data);
36  m_arg2->init(data);
37  }
boost::scoped_ptr< Evaluator > m_arg2
boost::scoped_ptr< Evaluator > m_arg1

Member Data Documentation

boost::scoped_ptr<Evaluator> triggerExpression::BinaryOperator::m_arg1
protected
boost::scoped_ptr<Evaluator> triggerExpression::BinaryOperator::m_arg2
protected