CMS 3D CMS Logo

Public Member Functions

triggerExpression::OperatorNot Class Reference

#include <TriggerExpressionOperators.h>

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

List of all members.

Public Member Functions

void dump (std::ostream &out) const
bool operator() (const Data &data) const
 OperatorNot (Evaluator *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.


Member Function Documentation

void triggerExpression::OperatorNot::dump ( std::ostream &  out) const [inline, virtual]

Implements triggerExpression::Evaluator.

Definition at line 57 of file TriggerExpressionOperators.h.

References triggerExpression::UnaryOperator::m_arg.

                                    {
    out << "NOT ";
    m_arg->dump(out);
  }
bool triggerExpression::OperatorNot::operator() ( const Data data) const [inline, virtual]

Implements triggerExpression::Evaluator.

Definition at line 53 of file TriggerExpressionOperators.h.

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

                                           {
    return not (*m_arg)(data);
  }