CMS 3D CMS Logo

ExpressionVarSetter.h
Go to the documentation of this file.
1 #ifndef CommonTools_Utils_ExpressionVarSetter_h
2 #define CommonTools_Utils_ExpressionVarSetter_h
3 /* \class reco::parser::ExpressionNumber
4  *
5  * Numerical expression setter
6  *
7  * \author original version: Chris Jones, Cornell,
8  * adapted by Luca Lista, INFN
9  *
10  * \version $Revision: 1.3 $
11  *
12  */
16 
17 namespace reco {
18  namespace parser {
21  MethodStack &methStack,
22  LazyMethodStack &lazyMethStack,
23  TypeStack &typeStack)
24  : exprStack_(exprStack), methStack_(methStack), lazyMethStack_(lazyMethStack), typeStack_(typeStack) {}
25  void operator()(const char *, const char *) const;
26 
27  private:
28  void push(const char *, const char *) const;
29  void lazyPush(const char *, const char *) const;
30 
35  };
36  } // namespace parser
37 } // namespace reco
38 
39 #endif
reco::parser::ExpressionVarSetter
Definition: ExpressionVarSetter.h:19
reco::parser::ExpressionVarSetter::methStack_
MethodStack & methStack_
Definition: ExpressionVarSetter.h:32
writedatasetfile.parser
parser
Definition: writedatasetfile.py:7
reco
fixed size matrix
Definition: AlignmentAlgorithmBase.h:45
reco::parser::ExpressionVarSetter::push
void push(const char *, const char *) const
Definition: ExpressionVarSetter.cc:19
MethodStack.h
reco::parser::MethodStack
std::vector< MethodInvoker > MethodStack
Definition: MethodStack.h:17
ExpressionStack.h
reco::parser::ExpressionVarSetter::lazyMethStack_
LazyMethodStack & lazyMethStack_
Definition: ExpressionVarSetter.h:33
reco::parser::ExpressionVarSetter::ExpressionVarSetter
ExpressionVarSetter(ExpressionStack &exprStack, MethodStack &methStack, LazyMethodStack &lazyMethStack, TypeStack &typeStack)
Definition: ExpressionVarSetter.h:20
reco::parser::TypeStack
std::vector< edm::TypeWithDict > TypeStack
Definition: TypeStack.h:17
reco::parser::ExpressionVarSetter::exprStack_
ExpressionStack & exprStack_
Definition: ExpressionVarSetter.h:31
TypeStack.h
reco::parser::LazyMethodStack
std::vector< LazyInvoker > LazyMethodStack
Definition: MethodStack.h:18
reco::parser::ExpressionStack
std::vector< std::shared_ptr< ExpressionBase > > ExpressionStack
Definition: ExpressionStack.h:19
reco::parser::ExpressionVarSetter::operator()
void operator()(const char *, const char *) const
Definition: ExpressionVarSetter.cc:9
reco::parser::ExpressionVarSetter::lazyPush
void lazyPush(const char *, const char *) const
Definition: ExpressionVarSetter.cc:36
reco::parser::ExpressionVarSetter::typeStack_
TypeStack & typeStack_
Definition: ExpressionVarSetter.h:34