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
std::unique_ptr< Evaluatorm_arg
 

Detailed Description

Definition at line 39 of file TriggerExpressionOperators.h.

Constructor & Destructor Documentation

◆ OperatorNot()

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

Definition at line 41 of file TriggerExpressionOperators.h.

41 : UnaryOperator(arg) {}

Member Function Documentation

◆ dump()

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

Implements triggerExpression::Evaluator.

Definition at line 45 of file TriggerExpressionOperators.h.

45  {
46  out << "NOT ";
47  m_arg->dump(out);
48  }

References triggerExpression::UnaryOperator::m_arg, and MillePedeFileConverter_cfg::out.

◆ operator()()

bool triggerExpression::OperatorNot::operator() ( const Data data) const
inlineoverridevirtual

Implements triggerExpression::Evaluator.

Definition at line 43 of file TriggerExpressionOperators.h.

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

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

triggerExpression::UnaryOperator::m_arg
std::unique_ptr< Evaluator > m_arg
Definition: TriggerExpressionOperators.h:18
data
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:79
MillePedeFileConverter_cfg.out
out
Definition: MillePedeFileConverter_cfg.py:31
funct::arg
A arg
Definition: Factorize.h:31
triggerExpression::UnaryOperator::UnaryOperator
UnaryOperator(Evaluator *arg)
Definition: TriggerExpressionOperators.h:12