OpenTwin 0.1
OpenTwin
 
Loading...
Searching...
No Matches
rbeCalc::AbstractOperator Class Reference

#include "AbstractOperator.h"

Inheritance diagram for rbeCalc::AbstractOperator:
rbeCalc::AbstractCalculationItem rbeCalc::OperatorAdd rbeCalc::OperatorDivide rbeCalc::OperatorMultiply rbeCalc::OperatorSubtract

Public Member Functions

 AbstractOperator (AbstractCalculationItem *_lhv=nullptr, AbstractCalculationItem *_rhv=nullptr)
 
virtual ~AbstractOperator ()
 
AbstractCalculationItemleft (void)
 
AbstractCalculationItemright (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

AbstractCalculationItemm_lhv
 
AbstractCalculationItemm_rhv
 

Constructor & Destructor Documentation

◆ AbstractOperator()

AbstractOperator::AbstractOperator ( AbstractCalculationItem * _lhv = nullptr,
AbstractCalculationItem * _rhv = nullptr )

◆ ~AbstractOperator()

AbstractOperator::~AbstractOperator ( )
virtual

Member Function Documentation

◆ left()

AbstractCalculationItem * rbeCalc::AbstractOperator::left ( void )
inline

◆ replaceLeft()

void AbstractOperator::replaceLeft ( AbstractCalculationItem * _lhv)

◆ replaceRight()

void AbstractOperator::replaceRight ( AbstractCalculationItem * _rhv)

◆ right()

AbstractCalculationItem * rbeCalc::AbstractOperator::right ( void )
inline

Member Data Documentation

◆ m_lhv

AbstractCalculationItem* rbeCalc::AbstractOperator::m_lhv
protected

◆ m_rhv

AbstractCalculationItem* rbeCalc::AbstractOperator::m_rhv
protected

The documentation for this class was generated from the following files: