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
reco::parser::ExpressionNumberSetter Struct Reference

#include <ExpressionNumberSetter.h>

Public Member Functions

 ExpressionNumberSetter (ExpressionStack &stack)
 
void operator() (double n) const
 

Private Attributes

ExpressionStackstack_
 

Detailed Description

Definition at line 18 of file ExpressionNumberSetter.h.

Constructor & Destructor Documentation

reco::parser::ExpressionNumberSetter::ExpressionNumberSetter ( ExpressionStack stack)
inline

Definition at line 19 of file ExpressionNumberSetter.h.

Member Function Documentation

void reco::parser::ExpressionNumberSetter::operator() ( double  n) const
inline

Definition at line 20 of file ExpressionNumberSetter.h.

References stack_.

20  {
21  stack_.push_back(ExpressionPtr(new ExpressionNumber(n)));
22  }
boost::shared_ptr< ExpressionBase > ExpressionPtr

Member Data Documentation

ExpressionStack& reco::parser::ExpressionNumberSetter::stack_
private

Definition at line 24 of file ExpressionNumberSetter.h.

Referenced by operator()().