DataIO
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
ERootDoprava.h
Go to the documentation of this file.
1 #if !defined(AFX_ROOT_H__BB38CF4F_BFE6_43BB_B097_E9C7C2A75FDB__INCLUDED_)
2 #define AFX_ROOT_H__BB38CF4F_BFE6_43BB_B097_E9C7C2A75FDB__INCLUDED_
3 
4 #include "dataio/DataIODefines.h"
5 #include <vector>
6 
7 namespace EM
8 {
9  namespace Strojcek
10  {
11  namespace VstupneUdaje
12  {
13  class ERootDataIO;
14  namespace Turnusy
15  {
16  class ETurnusCol;
17  class ECinnostCol;
18  class EPoznamkaCol;
19  class EPrikaz;
20  class EDuty;
21  class EPrejazdCol;
22 
23  class DATAIO_API ERootDoprava
24  {
25  public:
26  ERootDoprava( ERootDataIO *owner, char *file );
27  virtual ~ERootDoprava();
28 
29  char *GetFile();
30  void SetFile( char *file );
31 
32  ERootDataIO *GetOwner();
33  ETurnusCol *GetTurnusCol();
34  ECinnostCol *GetCinnostCol();
35  EPoznamkaCol *GetPoznamkaCol();
36  EPrikaz *GetPrikaz( char *nazov );
37  EPrikaz *GetPrikaz( int cislo );
38  EPrejazdCol *GetPrejazdCol();
39 
40  //vrati Stazku podla planu ak BIN or DriverNumber = 0, ignoruje sa
41  //ak actTime = 0 bere sa aktualny
42  EDuty *GetActDuty( long actTime, long BIN, long driverNumber );
43  EDuty *GetActDuty( long actTime = 0 );
44  std::vector<EDuty*>& GetDutyCol();
45 
46  private:
47  class DataClass;
48  DataClass *d;
49  };
50  }
51  }
52  }
53 }
54 
55 #endif
Class ECol : Objekt je predok pre vsetky nasledujuce kolekcie
Definition: ColReader.h:15
#define DATAIO_API
Definition: DataIODefines.h:10