src
CommonTools
Utils
interface
parser
IntSetter.h
Go to the documentation of this file.
1
#ifndef CommonTools_Utils_IntSetter_h
2
#define CommonTools_Utils_IntSetter_h
3
/* \class reco::parser::IntSetter
4
*
5
* Integer setter
6
*
7
* \author Luca Lista, INFN
8
*
9
* \version $Revision: 1.1 $
10
*
11
*/
12
#include "
CommonTools/Utils/interface/parser/IntStack.h
"
13
14
namespace
reco
{
15
namespace
parser
{
16
struct
IntSetter
{
17
IntSetter
(
IntStack
&
stack
) :
stack_
(
stack
) {}
18
void
operator()
(
int
n
)
const
{
stack_
.push_back(
n
); }
19
20
private
:
21
IntStack
&
stack_
;
22
};
23
}
// namespace parser
24
}
// namespace reco
25
26
#endif
reco::parser::IntSetter::operator()
void operator()(int n) const
Definition:
IntSetter.h:18
dqmiodumpmetadata.n
n
Definition:
dqmiodumpmetadata.py:28
reco::parser::IntSetter::stack_
IntStack & stack_
Definition:
IntSetter.h:21
svgfig.stack
stack
Definition:
svgfig.py:559
reco::parser::IntStack
std::vector< int > IntStack
Definition:
IntStack.h:16
IntStack.h
writedatasetfile.parser
parser
Definition:
writedatasetfile.py:7
reco
fixed size matrix
Definition:
AlignmentAlgorithmBase.h:46
reco::parser::IntSetter
Definition:
IntSetter.h:16
reco::parser::IntSetter::IntSetter
IntSetter(IntStack &stack)
Definition:
IntSetter.h:17
Generated for CMSSW Reference Manual by
1.8.14