CMS 3D CMS Logo

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
List of all members | Public Member Functions | Private Attributes
triggerExpression::Constant Class Reference

#include <TriggerExpressionConstant.h>

Inheritance diagram for triggerExpression::Constant:
triggerExpression::Evaluator

Public Member Functions

 Constant (bool value)
 
void dump (std::ostream &out, bool const ignoreMasks=false) const override
 
bool operator() (const Data &data) const override
 
- Public Member Functions inherited from triggerExpression::Evaluator
virtual void disableMasks ()
 
virtual void enableMasks ()
 
 Evaluator ()=default
 
virtual void init (const Data &data)
 
virtual void mask (Evaluator const &)
 
virtual bool masksEnabled () const
 
virtual std::vector< std::string > patterns () const
 
virtual std::vector< std::pair< std::string, unsigned int > > triggers () const
 
virtual ~Evaluator ()=default
 

Private Attributes

bool m_value
 

Detailed Description

Definition at line 10 of file TriggerExpressionConstant.h.

Constructor & Destructor Documentation

◆ Constant()

triggerExpression::Constant::Constant ( bool  value)
inline

Member Function Documentation

◆ dump()

void triggerExpression::Constant::dump ( std::ostream &  out,
bool const  ignoreMasks = false 
) const
inlineoverridevirtual

◆ operator()()

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

Implements triggerExpression::Evaluator.

Definition at line 14 of file TriggerExpressionConstant.h.

References m_value.

Member Data Documentation

◆ m_value

bool triggerExpression::Constant::m_value
private

Definition at line 19 of file TriggerExpressionConstant.h.

Referenced by dump(), and operator()().