#include "AbstractOperator.h"
Public Member Functions | |
AbstractOperator (AbstractCalculationItem *_lhv=nullptr, AbstractCalculationItem *_rhv=nullptr) | |
virtual | ~AbstractOperator () |
AbstractCalculationItem * | left (void) |
AbstractCalculationItem * | right (void) |
void | replaceLeft (AbstractCalculationItem *_lhv) |
void | replaceRight (AbstractCalculationItem *_rhv) |
Public Member Functions inherited from rbeCalc::AbstractCalculationItem | |
AbstractCalculationItem () | |
virtual | ~AbstractCalculationItem () |
virtual coordinate_t | value (void) const =0 |
Protected Attributes | |
AbstractCalculationItem * | m_lhv |
AbstractCalculationItem * | m_rhv |
AbstractOperator::AbstractOperator | ( | AbstractCalculationItem * | _lhv = nullptr, |
AbstractCalculationItem * | _rhv = nullptr ) |
|
virtual |
|
inline |
void AbstractOperator::replaceLeft | ( | AbstractCalculationItem * | _lhv | ) |
void AbstractOperator::replaceRight | ( | AbstractCalculationItem * | _rhv | ) |
|
inline |
|
protected |
|
protected |