summaryrefslogtreecommitdiffstats
path: root/Bachelor/Softwaretechnik/swtBank/konto.cpp
diff options
context:
space:
mode:
authorSven Eisenhauer <sven@sven-eisenhauer.net>2023-11-10 15:11:48 +0100
committerSven Eisenhauer <sven@sven-eisenhauer.net>2023-11-10 15:11:48 +0100
commit33613a85afc4b1481367fbe92a17ee59c240250b (patch)
tree670b842326116b376b505ec2263878912fca97e2 /Bachelor/Softwaretechnik/swtBank/konto.cpp
downloadStudium-master.tar.gz
Studium-master.tar.bz2
add new repoHEADmaster
Diffstat (limited to 'Bachelor/Softwaretechnik/swtBank/konto.cpp')
-rw-r--r--Bachelor/Softwaretechnik/swtBank/konto.cpp60
1 files changed, 60 insertions, 0 deletions
diff --git a/Bachelor/Softwaretechnik/swtBank/konto.cpp b/Bachelor/Softwaretechnik/swtBank/konto.cpp
new file mode 100644
index 0000000..4864c9d
--- /dev/null
+++ b/Bachelor/Softwaretechnik/swtBank/konto.cpp
@@ -0,0 +1,60 @@
+/**********************************************************************************/
+/* Definitionsmodul */
+/**********************************************************************************/
+/*
+ * generiert mit Innovator Version 8.1.04
+ *
+ * erstellt am: 01.05.2005 14:31:27
+ * Repository : swtd29
+ * Modell : swtd29
+ * Benutzer : ADMIN
+ * File : /tmp/src/konto.cpp
+ *
+ */
+
+
+// ino.module.konto.512.includes
+#include "konto.hpp"
+// ino.end
+
+
+// ino.method.Konto.499.definition
+Konto::Konto(void)
+// ino.end
+// ino.method.Konto.499.body
+{
+ kontostand=0;
+ kontonummer=12345678;
+}
+// ino.end
+
+// ino.method.~Konto.496.definition
+Konto::~Konto(void)
+// ino.end
+// ino.method.~Konto.496.body
+{
+}
+// ino.end
+
+// ino.method.geldEinzahlen.470.definition
+void Konto::geldEinzahlen(float betrag)
+// ino.end
+// ino.method.geldEinzahlen.470.body
+{
+ kontostand+=betrag;
+}
+// ino.end
+
+// ino.method.geldAbheben.472.definition
+void Konto::geldAbheben(float betrag)
+// ino.end
+// ino.method.geldAbheben.472.body
+{
+ kontostand-=betrag;
+}
+// ino.end
+
+float Konto::getKontostand()
+{
+ return kontostand;
+}