#include <Fireworks/Core/interface/FWExpressionEvaluator.h>
Public Member Functions | |
double | evalExpression (const void *) const |
const std::string & | expression () const |
FWExpressionEvaluator (const std::string &iExpression, const std::string &iClassName) | |
void | setClassName (const std::string &) |
void | setExpression (const std::string &) |
virtual | ~FWExpressionEvaluator () |
Private Attributes | |
std::string | m_className |
reco::parser::ExpressionPtr | m_expr |
std::string | m_expression |
edm::TypeWithDict | m_type |
Description: <one line="" class="" summary>="">
Usage: <usage>
Definition at line 33 of file FWExpressionEvaluator.h.
FWExpressionEvaluator::FWExpressionEvaluator | ( | const std::string & | iExpression, |
const std::string & | iClassName | ||
) |
|
virtual |
Definition at line 47 of file FWExpressionEvaluator.cc.
double FWExpressionEvaluator::evalExpression | ( | const void * | iObject | ) | const |
Definition at line 109 of file FWExpressionEvaluator.cc.
References m_expr, m_expression, m_type, and EcalTangentSkim_cfg::o.
const std::string & FWExpressionEvaluator::expression | ( | ) | const |
void FWExpressionEvaluator::setClassName | ( | const std::string & | iClassName | ) |
Definition at line 94 of file FWExpressionEvaluator.cc.
References edm::TypeWithDict::byName(), m_className, m_expression, m_type, and setExpression().
void FWExpressionEvaluator::setExpression | ( | const std::string & | iExpression | ) |
Throws an FWExpressionException if there is a problem
Definition at line 64 of file FWExpressionEvaluator.cc.
References reco::parser::baseExceptionWhat(), MillePedeFileConverter_cfg::e, fireworks::expression::indexFromNewFormatToOldFormat(), m_expr, m_expression, m_type, fireworks::expression::oldToNewFormat(), dumpparser::parse(), AlCaHLTBitMon_QueryRunRegistry::string, and groupFilesInBlocks::temp.
Referenced by FWExpressionEvaluator(), and setClassName().
|
private |
Definition at line 58 of file FWExpressionEvaluator.h.
Referenced by setClassName().
|
private |
Definition at line 59 of file FWExpressionEvaluator.h.
Referenced by evalExpression(), and setExpression().
|
private |
Definition at line 57 of file FWExpressionEvaluator.h.
Referenced by evalExpression(), expression(), setClassName(), and setExpression().
|
private |
Definition at line 60 of file FWExpressionEvaluator.h.
Referenced by evalExpression(), setClassName(), and setExpression().