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

◆ ExpressionCondition()

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();
26  expStack.pop_back();
27  true_ = expStack.back();
28  expStack.pop_back();
29  cond_ = selStack.back();
30  selStack.pop_back();
31  }

Member Function Documentation

◆ value()

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

Member Data Documentation

◆ cond_

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

Definition at line 35 of file ExpressionCondition.h.

Referenced by ExpressionCondition(), and value().

◆ false_

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

Definition at line 34 of file ExpressionCondition.h.

Referenced by ExpressionCondition(), and value().

◆ true_

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

Definition at line 34 of file ExpressionCondition.h.

Referenced by ExpressionCondition(), and value().