-
Notifications
You must be signed in to change notification settings - Fork 1
/
Klasy
134 lines (113 loc) · 1.94 KB
/
Klasy
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
#include "stdafx.h"
#include <iostream>
#include <windows.h>
#include <assert.h>
#include <string>
using namespace std;
void czyZarezerwowanyTermin(Termin t)
{
assert(t == 1);
cout << "zarezerwowany" << endl;
}
class Osoba
{
public:
string imie;
string nazwisko;
string adres;
long int pesel;
};
class Pacjent public : Osoba
{
public:
string zarezerwowanyTermin;
void wczytajDane();
void wyswietlDane();
class Pacjent nowyPacjant(Osoba P1);
};
class Lekarz public : Osoba
{
public:
string specjalizacja;
int godzinaRozpoczeciaPracy;
int godzinaZakonczeniaPracy;
void wczytajDane();
void wyswietlDane();
class Lekarz nowyLekarz(Osoba L1);
void wypiszRecepte();
void udzielPoradyInt();
};
class KartaChorob
{public:
string diagnoza;
string szczepienia;
string dataOstatniejChoroby;
void wyswietlKarteChorob(Pacjent P);
};
class Porada
{public:
int koszt;
string typ;
void dodaniePorady(string specjalizacja);
string dodanieZapytaniaInt();
bool zatwierdzeniePorady();
string dodanieReceptyOczek();
string wyborTypu();
};
class Rejestracja
{
public:
void sprawdzenieDanych();
bool potwierdzeniePlatnosci();
bool zatwierdzeniePorady();
};
class Recepta public : Porada
{
public:
string tresc;
string data;
};
class ZapytanieInt public : Porada
{
public:
string tresc;
string data;
};
class Cennik
{
public:
int poradaOgolna;
int dentysta;
int laryngolog;
int dermatolog;
int ortodonta;
int kardiolog;
int neurolog;
int psycholog;
int okulista;
void wyswietlCennik();
};
class Termin
{public:
string data;
int godzina;
bool zarezerwowany;
void zarezerwujTermin();
{
//aktualizujgrafik(wybrany termin);
}
void wyswietlTerminy;
void wyswietlDostLekarzy(string specjalizacja);
};
class Harmonogram
{public:
bool grafikLekarza[5][14];
void aktualizujGrafik();
void wyswietlGrafikLekarza(Lekarz L);
void wyswietlZapytaniaInt();
void wyswietlReceptyOczek();
void aktualizujPrzyszleTerminy();
};
int main()
{
}