CMS 3D CMS Logo

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

#include <FunctionSetter.h>

Public Member Functions

 FunctionSetter (Function fun, FunctionStack &stack)
 
void operator() (const char *, const char *) const
 

Private Attributes

Function fun_
 
FunctionStackstack_
 

Detailed Description

Definition at line 17 of file FunctionSetter.h.

Constructor & Destructor Documentation

reco::parser::FunctionSetter::FunctionSetter ( Function  fun,
FunctionStack stack 
)
inline

Definition at line 18 of file FunctionSetter.h.

18  :
19  fun_(fun), stack_(stack) {}
stack
Definition: svgfig.py:558

Member Function Documentation

void reco::parser::FunctionSetter::operator() ( const char *  ,
const char *   
) const
inline

Definition at line 21 of file FunctionSetter.h.

References fun_, and stack_.

21  {
22 #ifdef BOOST_SPIRIT_DEBUG
23  BOOST_SPIRIT_DEBUG_OUT << "pushing math function: " << functionNames[ fun_ ] << std::endl;
24 #endif
25  stack_.push_back(fun_);
26  }

Member Data Documentation

Function reco::parser::FunctionSetter::fun_
private

Definition at line 28 of file FunctionSetter.h.

Referenced by operator()().

FunctionStack& reco::parser::FunctionSetter::stack_
private

Definition at line 29 of file FunctionSetter.h.

Referenced by operator()().