summaryrefslogtreecommitdiffstats
path: root/Bachelor/Softwaretechnik1/swtBank/girokonto.cpp
blob: 2c77bc8c8dba23783fbc21480794c878295c0f3e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
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