#include <StringObjectFunction.h>
Public Member Functions | |
double | operator() (const T &t) const |
StringObjectFunction (const std::string &expr, bool lazy=DefaultLazyness) | |
StringObjectFunction (const reco::parser::ExpressionPtr &expr) | |
Private Attributes | |
reco::parser::ExpressionPtr | expr_ |
Reflex::Type | type_ |
Definition at line 16 of file StringObjectFunction.h.
StringObjectFunction< T, DefaultLazyness >::StringObjectFunction | ( | const std::string & | expr, |
bool | lazy = DefaultLazyness |
||
) | [inline] |
Definition at line 17 of file StringObjectFunction.h.
: type_(Reflex::Type::ByTypeInfo(typeid(T))) { if(! reco::parser::expressionParser<T>(expr, expr_, lazy)) { throw edm::Exception(edm::errors::Configuration, "failed to parse \"" + expr + "\""); } }
StringObjectFunction< T, DefaultLazyness >::StringObjectFunction | ( | const reco::parser::ExpressionPtr & | expr | ) | [inline] |
Definition at line 24 of file StringObjectFunction.h.
double StringObjectFunction< T, DefaultLazyness >::operator() | ( | const T & | t | ) | const [inline] |
reco::parser::ExpressionPtr StringObjectFunction< T, DefaultLazyness >::expr_ [private] |
Definition at line 35 of file StringObjectFunction.h.
Referenced by StringObjectFunction< reco::PFJet >::operator()(), and StringObjectFunction< reco::PFJet >::StringObjectFunction().
Reflex::Type StringObjectFunction< T, DefaultLazyness >::type_ [private] |
Definition at line 36 of file StringObjectFunction.h.
Referenced by StringObjectFunction< reco::PFJet >::operator()().