Typedefs | |
typedef std::conditional< matches_another_integral_type< unsigned long >::value, std::variant< int8_t, uint8_t, int16_t, uint16_t, int32_t, uint32_t, int64_t, uint64_t, double, float, std::string >, std::variant< int8_t, uint8_t, int16_t, uint16_t, int32_t, uint32_t, int64_t, uint64_t, unsigned long, double, float, std::string > >::type | AnyMethodArgument |
typedef boost::spirit::classic::parser_error< reco::parser::SyntaxErrors > | BaseException |
typedef std::vector< std::shared_ptr< ComparisonBase > > | ComparisonStack |
typedef std::shared_ptr< ExpressionBase > | ExpressionPtr |
typedef std::vector< reco::parser::ExpressionPtr > | ExpressionPtrs |
typedef std::vector< std::shared_ptr< ExpressionBase > > | ExpressionStack |
typedef std::vector< Function > | FunctionStack |
typedef std::vector< int > | IntStack |
typedef std::vector< LazyInvoker > | LazyMethodStack |
typedef std::vector< AnyMethodArgument > | MethodArgumentStack |
typedef std::vector< MethodInvoker > | MethodStack |
typedef std::shared_ptr< SelectorBase > | SelectorPtr |
typedef std::vector< reco::parser::SelectorPtr > | SelectorPtrs |
typedef std::vector< SelectorPtr > | SelectorStack |
typedef std::vector< edm::TypeWithDict > | TypeStack |
Enumerations | |
enum | ErrorCodes { kNoError = 0, kNameDoesNotExist, kIsNotPublic, kIsStatic, kIsNotConst, kIsFunctionAddedByROOT, kIsConstructor, kIsDestructor, kIsOperator, kWrongNumberOfArguments, kWrongArgumentType, kOverloaded } |
enum | Function { kAbs, kAcos, kAsin, kAtan, kAtan2, kChi2Prob, kCos, kCosh, kExp, kHypot, kLog, kLog10, kMax, kMin, kPow, kSin, kSinh, kSqrt, kTan, kTanh, kDeltaR, kDeltaPhi, kTestBit } |
enum | SyntaxErrors { kSyntaxError, kMissingClosingParenthesis, kSpecialError } |
Functions | |
const char * | baseExceptionWhat (const BaseException &e) |
returns the appropriate 'what' message for the exception More... | |
bool | cutParser (const edm::TypeWithDict &t, const std::string &cut, SelectorPtr &sel, bool lazy) |
template<typename T > | |
bool | cutParser (const std::string &cut, SelectorPtr &sel, bool lazy=false) |
bool | expressionParser (const edm::TypeWithDict &t, const std::string &value, ExpressionPtr &expr, bool lazy) |
template<typename T > | |
bool | expressionParser (const std::string &value, ExpressionPtr &expr, bool lazy=false) |
template<class T > | |
Exception & | operator<< (Exception &e, const T &iT) |
template<class T > | |
Exception & | operator<< (const Exception &e, const T &iT) |
Exception & | operator<< (Exception &e, std::ostream &(*f)(std::ostream &)) |
Exception & | operator<< (const Exception &e, std::ostream &(*f)(std::ostream &)) |
Exception & | operator<< (Exception &e, std::ios_base &(*f)(std::ios_base &)) |
Exception & | operator<< (const Exception &e, std::ios_base &(*f)(std::ios_base &)) |
typedef std::conditional< matches_another_integral_type<unsigned long>::value, std::variant<int8_t, uint8_t, int16_t, uint16_t, int32_t, uint32_t, int64_t, uint64_t, double, float, std::string>, std::variant<int8_t, uint8_t, int16_t, uint16_t, int32_t, uint32_t, int64_t, uint64_t, unsigned long, double, float, std::string> >::type reco::parser::AnyMethodArgument |
Definition at line 45 of file AnyMethodArgument.h.
typedef boost::spirit::classic::parser_error<reco::parser::SyntaxErrors> reco::parser::BaseException |
Definition at line 33 of file Exception.h.
typedef std::vector<std::shared_ptr<ComparisonBase> > reco::parser::ComparisonStack |
Definition at line 19 of file ComparisonStack.h.
typedef std::shared_ptr< ExpressionBase > reco::parser::ExpressionPtr |
Definition at line 25 of file ExpressionBase.h.
typedef std::vector<reco::parser::ExpressionPtr> reco::parser::ExpressionPtrs |
typedef std::vector<std::shared_ptr<ExpressionBase> > reco::parser::ExpressionStack |
Definition at line 19 of file ExpressionStack.h.
typedef std::vector<Function> reco::parser::FunctionStack |
Definition at line 17 of file FunctionStack.h.
typedef std::vector<int> reco::parser::IntStack |
Definition at line 16 of file IntStack.h.
typedef std::vector<LazyInvoker> reco::parser::LazyMethodStack |
Definition at line 18 of file MethodStack.h.
typedef std::vector<AnyMethodArgument> reco::parser::MethodArgumentStack |
Definition at line 17 of file MethodArgumentStack.h.
typedef std::vector<MethodInvoker> reco::parser::MethodStack |
Definition at line 17 of file MethodStack.h.
typedef std::shared_ptr<SelectorBase> reco::parser::SelectorPtr |
Definition at line 18 of file SelectorPtr.h.
typedef std::vector<reco::parser::SelectorPtr> reco::parser::SelectorPtrs |
typedef std::vector<SelectorPtr> reco::parser::SelectorStack |
Definition at line 18 of file SelectorStack.h.
typedef std::vector<edm::TypeWithDict> reco::parser::TypeStack |
Definition at line 17 of file TypeStack.h.
ErrorCodes.h CommonTools/Utils/interface/ErrorCodes.h
Description: enum containing the various ways data/function member lookups can fail
Usage: <usage>
Enumerator | |
---|---|
kNoError | |
kNameDoesNotExist | |
kIsNotPublic | |
kIsStatic | |
kIsNotConst | |
kIsFunctionAddedByROOT | |
kIsConstructor | |
kIsDestructor | |
kIsOperator | |
kWrongNumberOfArguments | |
kWrongArgumentType | |
kOverloaded |
Definition at line 30 of file ErrorCodes.h.
Enumerator | |
---|---|
kAbs | |
kAcos | |
kAsin | |
kAtan | |
kAtan2 | |
kChi2Prob | |
kCos | |
kCosh | |
kExp | |
kHypot | |
kLog | |
kLog10 | |
kMax | |
kMin | |
kPow | |
kSin | |
kSinh | |
kSqrt | |
kTan | |
kTanh | |
kDeltaR | |
kDeltaPhi | |
kTestBit |
Definition at line 18 of file Function.h.
Enumerator | |
---|---|
kSyntaxError | |
kMissingClosingParenthesis | |
kSpecialError |
Definition at line 31 of file Exception.h.
|
inline |
returns the appropriate 'what' message for the exception
Definition at line 36 of file Exception.h.
References MillePedeFileConverter_cfg::e, kMissingClosingParenthesis, kSpecialError, and kSyntaxError.
Referenced by cutParser(), expressionParser(), helper::Parser::makeExpression(), helper::Parser::makeSelector(), FWModelExpressionSelector::select(), FWExpressionEvaluator::setExpression(), and FWModelFilter::setExpression().
bool reco::parser::cutParser | ( | const edm::TypeWithDict & | t, |
const std::string & | cut, | ||
SelectorPtr & | sel, | ||
bool | lazy = false |
||
) |
Definition at line 7 of file cutParser.cc.
References baseExceptionWhat(), HltBtagPostValidation_cff::c, edm::errors::Configuration, DMR_cfg::cut, MillePedeFileConverter_cfg::e, Exception, parse(), EgammaValidation_Wenu_cff::sel, and submitPVValidationJobs::t.
Referenced by cutParser().
|
inline |
Definition at line 13 of file cutParser.h.
References DMR_cfg::cut, cutParser(), and EgammaValidation_Wenu_cff::sel.
bool reco::parser::expressionParser | ( | const edm::TypeWithDict & | t, |
const std::string & | value, | ||
ExpressionPtr & | expr, | ||
bool | lazy | ||
) |
Definition at line 7 of file expressionParser.cc.
References baseExceptionWhat(), edm::errors::Configuration, MillePedeFileConverter_cfg::e, Exception, parse(), and submitPVValidationJobs::t.
Referenced by expressionParser().
bool reco::parser::expressionParser | ( | const std::string & | value, |
ExpressionPtr & | expr, | ||
bool | lazy = false |
||
) |
Definition at line 13 of file expressionParser.h.
References expressionParser().
|
inline |
|
inline |