CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
reco::parser::ExpressionCondition Struct Reference

#include <ExpressionCondition.h>

Inheritance diagram for reco::parser::ExpressionCondition:
reco::parser::ExpressionBase

Public Member Functions

 ExpressionCondition (ExpressionStack &expStack, SelectorStack &selStack)
 
double value (const edm::ObjectWithDict &o) const override
 
- Public Member Functions inherited from reco::parser::ExpressionBase
virtual ~ExpressionBase ()
 

Private Attributes

SelectorPtr cond_
 
ExpressionPtr false_
 
ExpressionPtr true_
 

Detailed Description

Definition at line 20 of file ExpressionCondition.h.

Constructor & Destructor Documentation

reco::parser::ExpressionCondition::ExpressionCondition ( ExpressionStack expStack,
SelectorStack selStack 
)
inline

Definition at line 24 of file ExpressionCondition.h.

References cond_, false_, and true_.

24  {
25  false_ = expStack.back(); expStack.pop_back();
26  true_ = expStack.back(); expStack.pop_back();
27  cond_ = selStack.back(); selStack.pop_back();
28  }

Member Function Documentation

double reco::parser::ExpressionCondition::value ( const edm::ObjectWithDict o) const
inlineoverridevirtual

Member Data Documentation

SelectorPtr reco::parser::ExpressionCondition::cond_
private

Definition at line 31 of file ExpressionCondition.h.

Referenced by ExpressionCondition(), and value().

ExpressionPtr reco::parser::ExpressionCondition::false_
private

Definition at line 30 of file ExpressionCondition.h.

Referenced by ExpressionCondition(), and value().

ExpressionPtr reco::parser::ExpressionCondition::true_
private

Definition at line 30 of file ExpressionCondition.h.

Referenced by ExpressionCondition(), and value().