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.

Member Function Documentation

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

Definition at line 20 of file FunctionSetter.h.

References fun_, and stack_.

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

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()().