DataIO
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
ESpojCol.h
Go to the documentation of this file.
1 #if !defined _ELINKA_SPOJ_COL_H_
2 #define _ELINKA_SPOJ_COL_H_
3 
4 #include "dataio/DataIODefines.h"
5 #include "core/common/Head.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 ELinkaSmer;
17  class ESpoj;
18  class ESpojZastavka;
19 
20  class DATAIO_API ESpojCol : public EHead, public EColReader
21  {
22  public:
23  ESpojCol( ELinkaSmer *owner );
24  virtual ~ESpojCol();
25 
26  void Add( ESpoj *trip );
27  bool Remove( ESpoj *trip );
28 
29  virtual long ReadData( FILE *file );
30  long Read();
31 
32  ELinkaSmer *GetOwner();
33  ESpoj *GetTripByTripNumber( unsigned short tripNumber );
34  unsigned long GetKmNadlhsiehoSpoja( unsigned short zastavkaOd, unsigned short zastavkaDo );
35  unsigned long GetKmNakratsiehoSpoja( unsigned short zastavkaOd, unsigned short zastavkaDo );
36  virtual long GetSize();
37  virtual long FillRecord( const char *pomPole, long minimum );
38  ESpoj *GetFirst();
39 
40  private:
41  class DataClass;
42  DataClass *d;
43  };
44  }
45  }
46  }
47 }
48 
49 #endif
Class ECol : Objekt je predok pre vsetky nasledujuce kolekcie
Definition: ColReader.h:15
#define DATAIO_API
Definition: DataIODefines.h:10