summaryrefslogtreecommitdiffstats
path: root/Bachelor/Softwaretechnik1/swtBank/girokonto.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Bachelor/Softwaretechnik1/swtBank/girokonto.cpp')
-rw-r--r--Bachelor/Softwaretechnik1/swtBank/girokonto.cpp53
1 files changed, 53 insertions, 0 deletions
diff --git a/Bachelor/Softwaretechnik1/swtBank/girokonto.cpp b/Bachelor/Softwaretechnik1/swtBank/girokonto.cpp
new file mode 100644
index 0000000..2c77bc8
--- /dev/null
+++ b/Bachelor/Softwaretechnik1/swtBank/girokonto.cpp
@@ -0,0 +1,53 @@
+/**********************************************************************************/
+/* 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/girokonto.cpp
+ *
+ */
+
+
+// ino.module.girokonto.513.includes
+#include "girokonto.hpp"
+// ino.end
+
+
+// ino.method.Girokonto.505.definition
+Girokonto::Girokonto()
+// ino.end
+// ino.method.Girokonto.505.body
+{
+ ueberziehungsKredit=1000;
+}
+// ino.end
+
+// ino.method.~Girokonto.502.definition
+Girokonto::~Girokonto()
+// ino.end
+// ino.method.~Girokonto.502.body
+{
+}
+// ino.end
+
+// ino.method.pruefeUeberziehungsKredit.478.definition
+bool Girokonto::pruefeUeberziehungsKredit(float betrag)
+// ino.end
+// ino.method.pruefeUeberziehungsKredit.478.body
+{
+ if ((getKontostand()>betrag) || ((getKontostand()+ueberziehungsKredit)>betrag))
+ {
+ //geldAbheben(betrag);
+ return true;
+ }
+ else
+ return false;
+}
+// ino.end
+
+