DataIO
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
EZastavkaCol.h
Go to the documentation of this file.
1 #if !defined _EZASTAVKA_COL_H_
2 #define _EZASTAVKA_COL_H_
3 
4 #include "dataio/DataIODefines.h"
5 #include "core/common/Array.h"
6 #include "dataio/datainput/ColReader.h"
7 
8 #include <list>
9 #include <set>
10 
11 namespace EM
12 {
13  namespace Strojcek
14  {
15  namespace VstupneUdaje
16  {
17  namespace CestovnePoriadky
18  {
19  class ERootCP;
20  class EZastavka;
21  class EZastavkaNastupistia;
22 
23  class DATAIO_API EZastavkaCol : public EArray, public EColReader
24  {
25  public:
26  EZastavkaCol( ERootCP *owner );
27  virtual ~EZastavkaCol();
28 
29  void Add( EZastavka *busStop );
30  virtual long ReadData( FILE *file );
31  long Read();
32 
33  ERootCP *GetOwner();
34  virtual long GetSize();
35  virtual long FillRecord( const char *pomPole, long minimum );
36 
42  EZastavka *GetZastavkaByID( long zastavkaID );
43 
49  EZastavka *GetZastavkaByLokalneCislo( unsigned short lokalneCislo );
50  EZastavka *GetByIdx( unsigned long i );
51  EZastavka *operator[]( unsigned long i );
52 
56  const std::set<unsigned short> *GetUrbanZones();
57 
58  private:
59  class DataClass;
60  DataClass *d;
61  };
62  }
63  }
64  }
65 }
66 
67 #endif
Definition: ColReader.h:21
Class ECol : Objekt je predok pre vsetky nasledujuce kolekcie
Definition: ColReader.h:15
#define DATAIO_API
Definition: DataIODefines.h:10