test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros 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) const
 
void init (const Data &data)
 
bool operator() (const Data &data) const
 
- Public Member Functions inherited from triggerExpression::Evaluator
 Evaluator ()
 
virtual ~Evaluator ()
 

Private Attributes

bool m_value
 

Detailed Description

Definition at line 10 of file TriggerExpressionConstant.h.

Constructor & Destructor Documentation

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

Member Function Documentation

void triggerExpression::Constant::dump ( std::ostream &  out) const
inlinevirtual

Implements triggerExpression::Evaluator.

Definition at line 23 of file TriggerExpressionConstant.h.

References m_value.

23  {
24  out << (m_value ? "TRUE" : "FALSE");
25  }
void triggerExpression::Constant::init ( const Data data)
inlinevirtual

Reimplemented from triggerExpression::Evaluator.

Definition at line 20 of file TriggerExpressionConstant.h.

20  {
21  }
bool triggerExpression::Constant::operator() ( const Data data) const
inlinevirtual

Implements triggerExpression::Evaluator.

Definition at line 16 of file TriggerExpressionConstant.h.

References m_value.

16  {
17  return m_value;
18  }

Member Data Documentation

bool triggerExpression::Constant::m_value
private

Definition at line 28 of file TriggerExpressionConstant.h.

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