CMS 3D CMS Logo

List of all members | Public Member Functions | Protected Attributes
triggerExpression::UnaryOperator Class Reference

#include <TriggerExpressionOperators.h>

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

Public Member Functions

void init (const Data &data) override
 
std::vector< std::string > patterns () const override
 
 UnaryOperator (Evaluator *arg)
 
- Public Member Functions inherited from triggerExpression::Evaluator
virtual void dump (std::ostream &out) const =0
 
 Evaluator ()=default
 
virtual bool operator() (const Data &data) const =0
 
virtual ~Evaluator ()=default
 

Protected Attributes

std::unique_ptr< Evaluatorm_arg
 

Detailed Description

Definition at line 10 of file TriggerExpressionOperators.h.

Constructor & Destructor Documentation

◆ UnaryOperator()

triggerExpression::UnaryOperator::UnaryOperator ( Evaluator arg)
inline

Definition at line 12 of file TriggerExpressionOperators.h.

12 : m_arg(arg) {}
A arg
Definition: Factorize.h:31

Member Function Documentation

◆ init()

void triggerExpression::UnaryOperator::init ( const Data data)
inlineoverridevirtual

Reimplemented from triggerExpression::Evaluator.

Reimplemented in triggerExpression::Prescaler.

Definition at line 15 of file TriggerExpressionOperators.h.

References data, and m_arg.

Referenced by triggerExpression::Prescaler::init().

15 { m_arg->init(data); }
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:79

◆ patterns()

std::vector<std::string> triggerExpression::UnaryOperator::patterns ( ) const
inlineoverridevirtual

Reimplemented from triggerExpression::Evaluator.

Definition at line 18 of file TriggerExpressionOperators.h.

References m_arg.

18 { return m_arg->patterns(); }

Member Data Documentation

◆ m_arg

std::unique_ptr<Evaluator> triggerExpression::UnaryOperator::m_arg
protected