40 m_className(iClassName),
41 m_type(edm::TypeWithDict::byName(iClassName))
74 using namespace fireworks::expression;
80 using namespace boost::spirit::classic;
84 if(
parse(
temp.c_str(), grammar.use_parser<1>() >> end_p, space_p).full) {
reco::parser::ExpressionPtr m_expr
long indexFromNewFormatToOldFormat(const std::string &iNewFormat, long iNewFormatIndex, const std::string &iOldFormat)
static TypeWithDict byName(std::string const &className)
void setClassName(const std::string &)
boost::spirit::classic::parser_error< reco::parser::SyntaxErrors > BaseException
Evaluator * parse(const T &text)
FWExpressionEvaluator(const std::string &iExpression, const std::string &iClassName)
void setExpression(const std::string &)
virtual ~FWExpressionEvaluator()
boost::shared_ptr< ExpressionBase > ExpressionPtr
double evalExpression(const void *) const
const char * baseExceptionWhat(const BaseException &e)
returns the appropriate 'what' message for the exception
std::string oldToNewFormat(const std::string &iExpression)
const std::string & expression() const