CommonTools
Utils
src
MethodSetter.h
Go to the documentation of this file.
1
#ifndef CommonTools_Utils_MethodSetter_h
2
#define CommonTools_Utils_MethodSetter_h
3
4
/* \class reco::parser::MethodSetter
5
*
6
* \author Luca Lista, INFN
7
*
8
*/
9
10
#include "
CommonTools/Utils/src/MethodStack.h
"
11
#include "
CommonTools/Utils/src/TypeStack.h
"
12
#include "
CommonTools/Utils/src/MethodArgumentStack.h
"
13
14
namespace
reco
{
15
namespace
parser
{
16
17
class
MethodSetter
{
18
private
:
19
MethodStack
&
methStack_
;
20
LazyMethodStack
&
lazyMethStack_
;
21
TypeStack
&
typeStack_
;
22
MethodArgumentStack
&
intStack_
;
23
bool
lazy_
;
24
25
public
:
26
explicit
MethodSetter
(
MethodStack
& methStack,
27
LazyMethodStack
& lazyMethStack,
28
TypeStack
& typeStack,
29
MethodArgumentStack
& intStack,
30
bool
lazy =
false
)
31
:
methStack_
(methStack),
32
lazyMethStack_
(lazyMethStack),
33
typeStack_
(typeStack),
34
intStack_
(intStack),
35
lazy_
(lazy) {}
36
37
void
operator()
(
const
char
*,
const
char
*)
const
;
38
63
// a 'get' on the stack
66
bool
push
(
const
std::string
&,
const
std::vector<AnyMethodArgument>&,
const
char
*,
bool
deep =
true
)
const
;
67
};
68
69
}
// namespace parser
70
}
// namespace reco
71
72
#endif // CommonTools_Utils_MethodSetter_h
reco::parser::MethodSetter::operator()
void operator()(const char *, const char *) const
Definition:
MethodSetter.cc:15
reco::parser::MethodSetter::lazyMethStack_
LazyMethodStack & lazyMethStack_
Definition:
MethodSetter.h:20
reco::parser::MethodSetter::methStack_
MethodStack & methStack_
Definition:
MethodSetter.h:19
writedatasetfile.parser
parser
Definition:
writedatasetfile.py:7
reco
fixed size matrix
Definition:
AlignmentAlgorithmBase.h:45
reco::parser::MethodSetter::intStack_
MethodArgumentStack & intStack_
Definition:
MethodSetter.h:22
reco::parser::MethodSetter::lazy_
bool lazy_
Definition:
MethodSetter.h:23
MethodStack.h
reco::parser::MethodStack
std::vector< MethodInvoker > MethodStack
Definition:
MethodStack.h:17
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
reco::parser::TypeStack
std::vector< edm::TypeWithDict > TypeStack
Definition:
TypeStack.h:17
reco::parser::MethodSetter
Definition:
MethodSetter.h:17
TypeStack.h
reco::parser::LazyMethodStack
std::vector< LazyInvoker > LazyMethodStack
Definition:
MethodStack.h:18
MethodArgumentStack.h
reco::parser::MethodSetter::push
bool push(const std::string &, const std::vector< AnyMethodArgument > &, const char *, bool deep=true) const
Definition:
MethodSetter.cc:57
reco::parser::MethodSetter::typeStack_
TypeStack & typeStack_
Definition:
MethodSetter.h:21
reco::parser::MethodArgumentStack
std::vector< AnyMethodArgument > MethodArgumentStack
Definition:
MethodArgumentStack.h:17
reco::parser::MethodSetter::MethodSetter
MethodSetter(MethodStack &methStack, LazyMethodStack &lazyMethStack, TypeStack &typeStack, MethodArgumentStack &intStack, bool lazy=false)
Definition:
MethodSetter.h:26
Generated for CMSSW Reference Manual by
1.8.16