DataIO
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
EZonaCol.h
Go to the documentation of this file.
1 #if !defined _EZONA_COL_H_
2 #define _EZONA_COL_H_
3 
4 #include "dataio/DataIODefines.h"
5 #include "core/common/Array.h"
6 #include "dataio/datainput/ColReader.h"
7 
8 namespace EM
9 {
10  namespace Strojcek
11  {
12  namespace VstupneUdaje
13  {
14  namespace CestovnePoriadky
15  {
16  class ERootCP;
17  class EZona;
18 
19  class DATAIO_API EZonaCol : public EArray, public EColReader
20  {
21  public:
22  EZonaCol( ERootCP *owner );
23  virtual ~EZonaCol();
24 
25  ERootCP *GetOwner();
26 
27  void Add( EZona *newZona );
28  virtual long ReadData( FILE *file );
29  long Read();
30 
31  EZona *GetZona( unsigned short zona );
32  EZona *GetZona( unsigned short zoneNumber, unsigned short ids );
33  EZona *GetZonaByZastavkaID( long zastavkaID );
34  unsigned long GetFileSize( FILE *file );
35  EZona *GetZonaBySkratka( char *pSkratka );
36 
37  virtual long GetSize();
38  virtual long FillRecord( const char *pomPole, long minimum );
39  EZona *GetByIdx( unsigned long i );
40  EZona *GetZonaByZonaID( unsigned long zonaID );
41 
42  private:
43  class DataClass;
44  DataClass *d;
45  };
46  }
47  }
48  }
49 }
50 
51 #endif
Class ECol : Objekt je predok pre vsetky nasledujuce kolekcie
Definition: ColReader.h:15
#define DATAIO_API
Definition: DataIODefines.h:10