Main Page
Namespaces
Classes
Package Documentation
CommonTools
Utils
interface
expressionParser.h
Go to the documentation of this file.
1
#ifndef CommonTools_Utils_expressionParset_h
2
#define CommonTools_Utils_expressionParset_h
3
#include "
CommonTools/Utils/src/ExpressionPtr.h
"
4
#include "
CommonTools/Utils/interface/Exception.h
"
5
#include "
FWCore/Utilities/interface/TypeWithDict.h
"
6
#include <string>
7
8
namespace
reco
{
9
namespace
parser
{
10
bool
expressionParser
(
const
edm::TypeWithDict
&
t
,
const
std::string
&
value
,
ExpressionPtr
&
expr
,
bool
lazy) ;
11
12
template
<
typename
T>
13
bool
expressionParser
(
const
std::string
&
value
,
ExpressionPtr
&
expr
,
bool
lazy=
false
) {
14
return
reco::parser::expressionParser
(
edm::TypeWithDict
(
typeid
(
T
)), value, expr, lazy);
15
}
16
17
}
18
}
19
20
#endif
reco::parser::expressionParser
bool expressionParser(const edm::TypeWithDict &t, const std::string &value, ExpressionPtr &expr, bool lazy)
Definition:
expressionParser.cc:7
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
reco::parser::ExpressionPtr
boost::shared_ptr< ExpressionBase > ExpressionPtr
Definition:
ExpressionBase.h:22
jets_cff.expr
expr
Definition:
jets_cff.py:482
TypeWithDict.h
protons_cff.t
t
Definition:
protons_cff.py:34
value
Definition:
value.py:1
ExpressionPtr.h
writedatasetfile.parser
parser
Definition:
writedatasetfile.py:7
reco
fixed size matrix
Definition:
AlignmentAlgorithmBase.h:44
Exception.h
edm::TypeWithDict
Definition:
TypeWithDict.h:38
T
long double T
Definition:
Basic3DVectorLD.h:66
Generated for CMSSW Reference Manual by
1.8.11