CMS 3D CMS Logo

Public Member Functions | Private Attributes

reco::parser::FunctionSetter Struct Reference

#include <FunctionSetter.h>

List of all members.

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.

                                                        :
        fun_(fun), stack_(stack) {}

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_.

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

Member Data Documentation

Definition at line 28 of file FunctionSetter.h.

Referenced by operator()().

Definition at line 29 of file FunctionSetter.h.

Referenced by operator()().