1 /* 2 * termin.h 3 * 4 * Beispielprogramm Klasse. 5 * 6 * Autor: H.Drachenfels 7 * Erstellt am: 10.2.2021 8 */
9 #ifndef TERMIN_H
10 #define TERMIN_H
11
12 #include "datum.h"
13 #include <string>
14
15 class termin final
16 {
17 private:
18 datum wann;
19 std::string was;
20
21 public:
22 termin(const datum&, const std::string&);
23 // ~termin() = default;
24
25 // Entity-Klasse: keine Copy-Move-Semantik
26 termin(const termin&) = delete;
27 termin& operator=(const termin&) = delete;
28 termin(termin&&) = delete;
29 termin& operator=(termin&&) = delete;
30
31 void verschieben(const datum&);
32 datum get_datum() const;
33 std::string get_beschreibung() const;
34 };
35
36 #endif
37