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
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)
 
virtual double value (const edm::ObjectWithDict &o) const
 
- Public Member Functions inherited from reco::parser::ExpressionBase
virtual ~ExpressionBase ()
 

Private Attributes

SelectorPtr cond_
 
ExpressionPtr false_
 
ExpressionPtr true_
 

Detailed Description

Definition at line 19 of file ExpressionCondition.h.

Constructor & Destructor Documentation

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

Definition at line 23 of file ExpressionCondition.h.

References cond_, false_, and true_.

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

Member Function Documentation

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

Member Data Documentation

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

Definition at line 30 of file ExpressionCondition.h.

Referenced by ExpressionCondition(), and value().

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

Definition at line 29 of file ExpressionCondition.h.

Referenced by ExpressionCondition(), and value().

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

Definition at line 29 of file ExpressionCondition.h.

Referenced by ExpressionCondition(), and value().