CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups 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 override
 
bool operator() (const Data &data) const override
 
 OperatorNot (Evaluator *arg)
 
- Public Member Functions inherited from triggerExpression::UnaryOperator
void init (const Data &data) override
 
std::vector< std::string > patterns () const override
 
 UnaryOperator (Evaluator *arg)
 
- Public Member Functions inherited from triggerExpression::Evaluator
 Evaluator ()=default
 
virtual ~Evaluator ()=default
 

Additional Inherited Members

- Protected Attributes inherited from triggerExpression::UnaryOperator
std::unique_ptr< Evaluatorm_arg
 

Detailed Description

Definition at line 51 of file TriggerExpressionOperators.h.

Constructor & Destructor Documentation

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

Definition at line 53 of file TriggerExpressionOperators.h.

Member Function Documentation

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

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  }
bool triggerExpression::OperatorNot::operator() ( const Data data) const
inlineoverridevirtual

Implements triggerExpression::Evaluator.

Definition at line 55 of file TriggerExpressionOperators.h.

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

55 { return not(*m_arg)(data); }
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:79