CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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
 
bool operator() (const Data &data) const
 
 OperatorNot (Evaluator *arg)
 
- Public Member Functions inherited from triggerExpression::UnaryOperator
void init (const Data &data)
 
 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 47 of file TriggerExpressionOperators.h.

Constructor & Destructor Documentation

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

Definition at line 49 of file TriggerExpressionOperators.h.

49  :
51  { }
A arg
Definition: Factorize.h:36

Member Function Documentation

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

Implements triggerExpression::Evaluator.

Definition at line 57 of file TriggerExpressionOperators.h.

References triggerExpression::UnaryOperator::m_arg.

57  {
58  out << "NOT ";
59  m_arg->dump(out);
60  }
boost::scoped_ptr< Evaluator > m_arg
bool triggerExpression::OperatorNot::operator() ( const Data data) const
inlinevirtual

Implements triggerExpression::Evaluator.

Definition at line 53 of file TriggerExpressionOperators.h.

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

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