Johannes.wendel.iese.fraunhofer.de | c6de3de | 2019-08-09 11:16:50 +0200 | [diff] [blame] | 1 | /* |
| 2 | * IFormula.h |
| 3 | * |
| 4 | * Author: wendel |
| 5 | */ |
| 6 | |
| 7 | #ifndef BASYX_METAMODEL_IFormula_H_ |
| 8 | #define BASYX_METAMODEL_IFormula_H_ |
| 9 | |
Thomas Psota | 176a20c | 2019-11-27 11:52:28 +0100 | [diff] [blame] | 10 | #include "submodel/api/reference/IReference.h" |
Johannes Wendel | 11b6dae | 2019-11-13 13:13:38 +0100 | [diff] [blame] | 11 | #include "basyx/types.h" |
Johannes Wendel | 10dc552 | 2019-12-04 11:20:14 +0100 | [diff] [blame^] | 12 | #include "IConstraint.h" |
Johannes.wendel.iese.fraunhofer.de | c6de3de | 2019-08-09 11:16:50 +0200 | [diff] [blame] | 13 | |
| 14 | #include <vector> |
| 15 | |
Johannes Wendel | 11b6dae | 2019-11-13 13:13:38 +0100 | [diff] [blame] | 16 | |
| 17 | namespace basyx { |
Thomas Psota | b49d8df | 2019-11-27 15:55:41 +0100 | [diff] [blame] | 18 | namespace submodel { |
Johannes Wendel | 11b6dae | 2019-11-13 13:13:38 +0100 | [diff] [blame] | 19 | |
Johannes Wendel | 10dc552 | 2019-12-04 11:20:14 +0100 | [diff] [blame^] | 20 | class IFormula : public IConstraint |
Johannes.wendel.iese.fraunhofer.de | c6de3de | 2019-08-09 11:16:50 +0200 | [diff] [blame] | 21 | { |
| 22 | public: |
Johannes Wendel | 10dc552 | 2019-12-04 11:20:14 +0100 | [diff] [blame^] | 23 | struct Path { |
| 24 | static constexpr char Dependson[] = "dependsOn"; |
| 25 | static constexpr char Modeltype[] = "Formula"; |
| 26 | }; |
| 27 | |
| 28 | public: |
Johannes Wendel | 11b6dae | 2019-11-13 13:13:38 +0100 | [diff] [blame] | 29 | virtual ~IFormula() = default; |
Johannes.wendel.iese.fraunhofer.de | c6de3de | 2019-08-09 11:16:50 +0200 | [diff] [blame] | 30 | |
Thomas Psota | b49d8df | 2019-11-27 15:55:41 +0100 | [diff] [blame] | 31 | virtual basyx::specificCollection_t<IReference> getDependsOn() const = 0; |
Johannes.wendel.iese.fraunhofer.de | c6de3de | 2019-08-09 11:16:50 +0200 | [diff] [blame] | 32 | }; |
| 33 | |
Johannes Wendel | 11b6dae | 2019-11-13 13:13:38 +0100 | [diff] [blame] | 34 | } |
| 35 | } |
Johannes Wendel | 11b6dae | 2019-11-13 13:13:38 +0100 | [diff] [blame] | 36 | |
Johannes.wendel.iese.fraunhofer.de | c6de3de | 2019-08-09 11:16:50 +0200 | [diff] [blame] | 37 | #endif |
| 38 | |