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
 
void mask (Evaluator const &arg) override
 
std::vector< std::string > patterns () const override
 
 UnaryOperator (Evaluator *arg)
 
- Public Member Functions inherited from triggerExpression::Evaluator
virtual void disableMasks ()
 
virtual void dump (std::ostream &out, bool const ignoreMasks=false) const =0
 
virtual void enableMasks ()
 
 Evaluator ()=default
 
virtual bool masksEnabled () const
 
virtual bool operator() (const Data &data) const =0
 
virtual std::vector< std::pair< std::string, unsigned int > > triggers () const
 
virtual ~Evaluator ()=default
 

Protected Attributes

std::unique_ptr< Evaluatorm_arg
 

Detailed Description

Definition at line 11 of file TriggerExpressionOperators.h.

Constructor & Destructor Documentation

◆ UnaryOperator()

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

Definition at line 13 of file TriggerExpressionOperators.h.

13 : 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 16 of file TriggerExpressionOperators.h.

References data, and m_arg.

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

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

◆ mask()

void triggerExpression::UnaryOperator::mask ( Evaluator const &  arg)
inlineoverridevirtual

Reimplemented from triggerExpression::Evaluator.

Definition at line 19 of file TriggerExpressionOperators.h.

References m_arg.

19 { m_arg->mask(arg); }
A arg
Definition: Factorize.h:31

◆ patterns()

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

Reimplemented from triggerExpression::Evaluator.

Definition at line 22 of file TriggerExpressionOperators.h.

References m_arg.

22 { return m_arg->patterns(); }

Member Data Documentation

◆ m_arg

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