-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathFAHRPLAN.H
47 lines (35 loc) · 1.06 KB
/
FAHRPLAN.H
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
////////////////////
// Fahrplan - Objekt
/* Diese Klasse soll einen Fahrplan auf einer View darstellen,
welche von CBaseView abgeleitet ist. Der Fahrplan selbst ist
von CTabelleObj abgeleitet. */
#ifndef __FAHRPLAN_H__
#define __FAHRPLAN_H__
class AFX_CLASS_EXPORT CFahrplanObj : public CTabelleObj
{
protected:
DECLARE_SERIAL(CFahrplanObj);
CFahrplanObj();
// Constructors
public:
CFahrplanObj(CPoint P, int Zeilen, int Spalten, CDrawDoc* pDoc);
// Implementation
public:
virtual ~CFahrplanObj();
virtual void Serialize(CArchive& ar);
// Implementation data
protected:
CObList Haltepunkte; // Wo der Zug anhae
// Diese Routine berprft auch noch die folgenden
// Streckenfhrungen:
//
// Kreisferkehr
// Schleife
// Wendezug - Betrieb
BOOL AddHaltepunkt(int s, CDrawObj* pObj);
void SetSpaltenName(CDataElem* pObj);
void ShowHiddenNormal();
void ShowHiddenSelected();
friend class CMakeFahrplanTool;
};
#endif // __FAHRPLAN_H__