DataIO
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
ESpojZastavkaCol.h
Go to the documentation of this file.
1 #if !defined _ESPOJZASTAVKA_COL_H_
2 #define _ESPOJZASTAVKA_COL_H_
3 
4 #include "dataio/DataIODefines.h"
5 #include "dataio/datainput/ColReader.h"
6 #include "core/common/Head.h"
7 #include "core/common/eplatform.h"
8 
9 namespace EM
10 {
11  namespace Strojcek
12  {
13  namespace VstupneUdaje
14  {
15  namespace CestovnePoriadky
16  {
17  class ESpoj;
18  class ESpojZastavka;
19 
20  class DATAIO_API ESpojZastavkaCol : public EHead, public EColReader
21  {
22  public:
23  ESpojZastavkaCol( ESpoj *owner );
24  virtual ~ESpojZastavkaCol();
25 
26  long GetFirstZastavka();
27  long GetLastZastavka();
28  long GetNextZastavka( unsigned short currentBusstop );
29  long GetNextZastavka2( unsigned short currentBusstop );
30 
31  virtual long ReadData( FILE *pFile );
32  ESpoj *GetOwner();
33  long Read();
34 
35  void Add( ESpojZastavka *spojZastavka );
37  ESpojZastavka *FindZastavkaByID( long ID );
38  virtual long GetSize();
39  virtual long FillRecord( const char *pomPole, long minimum );
40  ESpojZastavka *GetFirst();
41 
47  ESpojZastavka *GetTripBusStopByLineOrder( unsigned long busStopLineOrder );
48 
49  private:
50  class DataClass;
51  DataClass *d;
52  };
53  }
54  }
55  }
56 }
57 
58 #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