CMS 3D CMS Logo

List of all members | Public Member Functions
triggerExpression::OperatorNot Class Reference

#include <TriggerExpressionOperators.h>

Inheritance diagram for triggerExpression::OperatorNot:
triggerExpression::UnaryOperator triggerExpression::Evaluator

Public Member Functions

void dump (std::ostream &out) const override
 
bool operator() (const Data &data) const override
 
 OperatorNot (Evaluator *arg)
 
- Public Member Functions inherited from triggerExpression::UnaryOperator
void init (const Data &data) override
 
 UnaryOperator (Evaluator *arg)
 
- Public Member Functions inherited from triggerExpression::Evaluator
 Evaluator ()
 
virtual ~Evaluator ()
 

Additional Inherited Members

- Protected Attributes inherited from triggerExpression::UnaryOperator
boost::scoped_ptr< Evaluatorm_arg
 

Detailed Description

Definition at line 39 of file TriggerExpressionOperators.h.

Constructor & Destructor Documentation

triggerExpression::OperatorNot::OperatorNot ( Evaluator arg)
inline

Definition at line 41 of file TriggerExpressionOperators.h.

Member Function Documentation

void triggerExpression::OperatorNot::dump ( std::ostream &  out) const
inlineoverridevirtual

Implements triggerExpression::Evaluator.

Definition at line 45 of file TriggerExpressionOperators.h.

References triggerExpression::UnaryOperator::m_arg.

45  {
46  out << "NOT ";
47  m_arg->dump(out);
48  }
boost::scoped_ptr< Evaluator > m_arg
bool triggerExpression::OperatorNot::operator() ( const Data data) const
inlineoverridevirtual

Implements triggerExpression::Evaluator.

Definition at line 43 of file TriggerExpressionOperators.h.

References data, and triggerExpression::UnaryOperator::m_arg.

43 { return not(*m_arg)(data); }
boost::scoped_ptr< Evaluator > m_arg
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:79