#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 34 of file FWExpressionEvaluator.h.
FWExpressionEvaluator::FWExpressionEvaluator | ( | const std::string & | iExpression, |
const std::string & | iClassName | ||
) |
Definition at line 37 of file FWExpressionEvaluator.cc.
References setExpression().
|
virtual |
Definition at line 50 of file FWExpressionEvaluator.cc.
double FWExpressionEvaluator::evalExpression | ( | const void * | iObject | ) | const |
Definition at line 122 of file FWExpressionEvaluator.cc.
References m_expr, m_expression, m_type, and connectstrParser::o.
const std::string & FWExpressionEvaluator::expression | ( | ) | const |
void FWExpressionEvaluator::setClassName | ( | const std::string & | iClassName | ) |
Definition at line 101 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 70 of file FWExpressionEvaluator.cc.
References reco::parser::baseExceptionWhat(), alignCSCRings::e, fireworks::expression::indexFromNewFormatToOldFormat(), m_expr, m_expression, m_type, fireworks::expression::oldToNewFormat(), triggerExpression::parse(), edm::TypeWithDict::size(), AlCaHLTBitMon_QueryRunRegistry::string, and groupFilesInBlocks::temp.
Referenced by FWExpressionEvaluator(), and setClassName().
|
private |
Definition at line 61 of file FWExpressionEvaluator.h.
Referenced by setClassName().
|
private |
Definition at line 62 of file FWExpressionEvaluator.h.
Referenced by evalExpression(), and setExpression().
|
private |
Definition at line 60 of file FWExpressionEvaluator.h.
Referenced by evalExpression(), expression(), setClassName(), and setExpression().
|
private |
Definition at line 63 of file FWExpressionEvaluator.h.
Referenced by evalExpression(), setClassName(), and setExpression().