From 33613a85afc4b1481367fbe92a17ee59c240250b Mon Sep 17 00:00:00 2001 From: Sven Eisenhauer Date: Fri, 10 Nov 2023 15:11:48 +0100 Subject: add new repo --- Bachelor/Softwaretechnik1/code/girokonto.cpp | 78 ++++++++++++++++++++++++++++ 1 file changed, 78 insertions(+) create mode 100644 Bachelor/Softwaretechnik1/code/girokonto.cpp (limited to 'Bachelor/Softwaretechnik1/code/girokonto.cpp') diff --git a/Bachelor/Softwaretechnik1/code/girokonto.cpp b/Bachelor/Softwaretechnik1/code/girokonto.cpp new file mode 100644 index 0000000..cfbe90d --- /dev/null +++ b/Bachelor/Softwaretechnik1/code/girokonto.cpp @@ -0,0 +1,78 @@ +/**********************************************************************************/ +/* Definitionsmodul */ +/**********************************************************************************/ +/* + * generiert mit Innovator Version 8.1.04 + * + * erstellt am: 05.05.2005 14:01:16 + * Repository : swtd29 + * Modell : swt + * Benutzer : swtd29 + * File : /users/swtd29/code/girokonto.cpp + * + */ + + +// ino.module.girokonto.419.includes +#include "girokonto.hpp" +// ino.end + + +// ino.method.ueberweisen.462.definition +void systemModel::AnalyseModell::Girokonto::ueberweisen(float betrag, Girokonto ZielGkto) +// ino.end +// ino.method.ueberweisen.462.body +{ +} +// ino.end +// ino.method.dauerauftragAnlegen.465.definition +Dauerauftrag systemModel::AnalyseModell::Girokonto::dauerauftragAnlegen() +// ino.end +// ino.method.dauerauftragAnlegen.465.body +{ +} +// ino.end +// ino.method.dauerauftragLoeschen.467.definition +void systemModel::AnalyseModell::Girokonto::dauerauftragLoeschen(Dauerauftrag dauerAuftrag) +// ino.end +// ino.method.dauerauftragLoeschen.467.body +{ +} +// ino.end + + + +// ino.method.Girokonto.412.definition +systemModel::AnalyseModell::Girokonto::Girokonto(void) +// ino.end +// ino.method.Girokonto.412.body +{ + ueberziehungsKredit=1000; +} +// ino.end + +// ino.method.~Girokonto.409.definition +systemModel::AnalyseModell::Girokonto::~Girokonto(void) +// ino.end +// ino.method.~Girokonto.409.body +{ +} +// ino.end + +// ino.method.pruefeUeberziehungsKredit.385.definition +bool systemModel::AnalyseModell::Girokonto::pruefeUeberziehungsKredit(float betrag) +// ino.end +// ino.method.pruefeUeberziehungsKredit.385.body +{ + if (((getKontostand()-betrag)>-ueberziehungsKredit)|| (getKontostand()-betrag)>0) + { + return true; + } + else + { + return false; + } +} +// ino.end + + -- cgit v1.2.3