DataIO
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
ENastupiste.h
Go to the documentation of this file.
1 #if !defined _EZASTAVKA_NASTUPISTE_H_
2 #define _EZASTAVKA_NASTUPISTE_H_
3 
4 #include <string>
5 
6 #include "dataio/DataIODefines.h"
7 #include "core/common/Node.h"
8 
9 const short const_TableID_Nastupiste = 436;
10 
11 namespace EM
12 {
13  namespace Strojcek
14  {
15  namespace VstupneUdaje
16  {
17  class ECustomPropertyValue;
18 
19  namespace CestovnePoriadky
20  {
21  class ERootCP;
22  class EZastavka;
23  class ENastupisteCol;
24  class EZastavkaNastupisteZonaCol;
25 
26  class DATAIO_API ENastupiste : public ENode
27  {
28  public:
29 
31  {
32  cptTextyZastavka = 1,
33  cptVzdialenostPrichod = 2,
34  cptVzdialenostOdchod = 3,
35  cptArrivalAzimuth = 100,
36  cptArrivalAzimuthTolerance = 101
37  };
38 
40  {
41  BusStopPlatformNameIsNumber = 0,
42  BusStopPlatformNameIsText = 1
43  };
44 
45  ENastupiste( ENastupisteCol *owner );
46  virtual ~ENastupiste();
47 
48  unsigned short GetZastavkaPoradie() const;
49  long GetPlatformNumber() const;
50  const char *GetPlatformName() const;
51  std::string GetPlatformNameConsideringTariffSystemSetting() const;
52  long GetSuradnicaX() const;
53  long GetSuradnicaY() const;
54  unsigned long GetZastavkaNastupisteZonaOffset() const;
55 
56  void SetZastavkaPoradie( unsigned short newVal );
57  void SetPlatformNumber( const long platformNumber );
58  void SetPlatformName( const char *platformName );
59  void SetSuradnicaX( long vData );
60  void SetSuradnicaY( long vData );
61  void SetZastavkaNastupisteZonaOffset( unsigned long offset );
62 
63  EZastavkaNastupisteZonaCol *GetZastavkaNastupisteZonaCol();
64  ECustomPropertyValue *GetCustomPropertyValue( short customPropertyType );
65 
66  ENastupisteCol *GetOwner();
67  ENastupiste *GetLeft();
68  ENastupiste *GetRight();
69 
70  private:
71  class DataClass;
72  DataClass *d;
73  };
74  }
75  }
76  }
77 }
78 
79 #endif
Definition: ECustomPropertyValue.h:13
const short const_TableID_Nastupiste
Definition: ENastupiste.h:9
Class ECol : Objekt je predok pre vsetky nasledujuce kolekcie
Definition: ColReader.h:15
#define DATAIO_API
Definition: DataIODefines.h:10