#include <formulaBinaryOperatorEvaluator.h>
Public Member Functions | |
BinaryOperatorEvaluatorBase (std::shared_ptr< EvaluatorBase > iLHS, std::shared_ptr< EvaluatorBase > iRHS, Precedence iPrec) | |
BinaryOperatorEvaluatorBase (Precedence iPrec) | |
EvaluatorBase const * | lhs () const |
EvaluatorBase const * | rhs () const |
void | setLeftEvaluator (std::shared_ptr< EvaluatorBase > iOther) |
void | setRightEvaluator (std::shared_ptr< EvaluatorBase > iOther) |
void | swapLeftEvaluator (std::shared_ptr< EvaluatorBase > &iNew) |
Public Member Functions inherited from reco::formula::EvaluatorBase | |
virtual double | evaluate (double const *iVariables, double const *iParameters) const =0 |
EvaluatorBase () | |
EvaluatorBase (Precedence) | |
unsigned int | precedence () const |
void | setPrecedenceToParenthesis () |
virtual | ~EvaluatorBase () |
Private Attributes | |
std::shared_ptr< EvaluatorBase > | m_lhs |
std::shared_ptr< EvaluatorBase > | m_rhs |
Additional Inherited Members | |
Public Types inherited from reco::formula::EvaluatorBase | |
enum | Precedence { Precedence::kIdentity = 1, Precedence::kComparison =2, Precedence::kPlusMinus = 3, Precedence::kMultDiv = 4, Precedence::kPower = 5, Precedence::kFunction = 6, Precedence::kParenthesis = 7, Precedence::kUnaryMinusOperator = 8 } |
Definition at line 31 of file formulaBinaryOperatorEvaluator.h.
|
inline |
Definition at line 33 of file formulaBinaryOperatorEvaluator.h.
|
inline |
Definition at line 40 of file formulaBinaryOperatorEvaluator.h.
|
inline |
Definition at line 54 of file formulaBinaryOperatorEvaluator.h.
References m_lhs.
Referenced by reco::formula::BinaryOperatorEvaluator< Op >::evaluate().
|
inline |
Definition at line 55 of file formulaBinaryOperatorEvaluator.h.
References m_rhs.
Referenced by reco::formula::BinaryOperatorEvaluator< Op >::evaluate().
|
inline |
Definition at line 47 of file formulaBinaryOperatorEvaluator.h.
References m_lhs, and eostools::move().
|
inline |
Definition at line 50 of file formulaBinaryOperatorEvaluator.h.
References m_rhs, and eostools::move().
|
inline |
Definition at line 43 of file formulaBinaryOperatorEvaluator.h.
References m_lhs.
|
private |
Definition at line 58 of file formulaBinaryOperatorEvaluator.h.
Referenced by lhs(), setLeftEvaluator(), and swapLeftEvaluator().
|
private |
Definition at line 59 of file formulaBinaryOperatorEvaluator.h.
Referenced by rhs(), and setRightEvaluator().