39 m_className(iClassName),
40 m_type(edm::TypeWithDict::byName(iClassName))
73 using namespace fireworks::expression;
79 using namespace boost::spirit::classic;
83 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)
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
static TypeWithDict byName(std::string const &name)
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