OpenTwin 0.1
OpenTwin
 
Loading...
Searching...
No Matches
AbstractOperator.h
Go to the documentation of this file.
1/*
2 * File: AbstractOperator.h
3 * Package: rbeCalc
4 *
5 * Created on: September 07, 2021
6 * Author: Alexander Kuester
7 * Copyright (c) 2021 Alexander Kuester
8 * This file is part of the RubberbandEngine package.
9 * This file is subject to the terms and conditions defined in
10 * file 'LICENSE', which is part of this source code package.
11 */
12
13#pragma once
14
15// RBE header
17
18namespace rbeCalc {
19
21 public:
22 AbstractOperator(AbstractCalculationItem * _lhv = nullptr, AbstractCalculationItem * _rhv = nullptr);
23 virtual ~AbstractOperator();
24
25 AbstractCalculationItem * left(void) { return m_lhv; }
26
27 AbstractCalculationItem * right(void) { return m_rhv; }
28
29 void replaceLeft(AbstractCalculationItem * _lhv);
30
31 void replaceRight(AbstractCalculationItem * _rhv);
32
33 protected:
36
37 private:
38
40 AbstractOperator& operator = (AbstractOperator&) = delete;
41 };
42
43}
Definition AbstractCalculationItem.h:20
Definition AbstractOperator.h:20
AbstractCalculationItem * left(void)
Definition AbstractOperator.h:25
AbstractCalculationItem * right(void)
Definition AbstractOperator.h:27
AbstractCalculationItem * m_rhv
Definition AbstractOperator.h:35
AbstractCalculationItem * m_lhv
Definition AbstractOperator.h:34
#define RBE_API_EXPORT
Definition dataTypes.h:18
Definition AbstractCalculationItem.h:18