#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_ |
edm::TypeWithDict | 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_(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] |
Definition at line 28 of file StringObjectFunction.h.
reco::parser::ExpressionPtr StringObjectFunction< T, DefaultLazyness >::expr_ [private] |
Definition at line 34 of file StringObjectFunction.h.
Referenced by StringObjectFunction< reco::PFJet >::operator()(), and StringObjectFunction< reco::PFJet >::StringObjectFunction().
edm::TypeWithDict StringObjectFunction< T, DefaultLazyness >::type_ [private] |
Definition at line 35 of file StringObjectFunction.h.
Referenced by StringObjectFunction< reco::PFJet >::operator()().