1234567891011121314151617181920212223242526272829303132333435 |
- #pragma once
- #include <vector>
- #include "Feld.h"
- #include "Funktion.h"
- #include "Text.h"
- #include "Typ.h"
- namespace Framework
- {
- class Klasse : public Typ
- {
- private:
- Text name;
- std::vector<Funktion> funktions;
- std::vector<Feld> felder;
- public:
- Klasse(Text name)
- {
- this->name = name;
- }
- void addFunction(Funktion f)
- {
- this->funktions.push_back(f);
- }
- void addFeld(Feld f)
- {
- this->felder.push_back(f);
- }
- };
- }; // namespace Framework
|