DataIO
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
EJazdaMHD.h
Go to the documentation of this file.
1 #ifndef _EJAZDAMHD_H_
2 #define _EJAZDAMHD_H_
3 
4 #include "dataio/DataIODefines.h"
5 
6 namespace EM
7 {
8  namespace Strojcek
9  {
10  namespace StatistikaStrojcek
11  {
13  {
14  public:
15  enum Flags
16  {
17  FlagInterchange = 0,
18  FlagContinuousTrip = 1,
19  };
20 
21  EJazdaMHD();
22  virtual ~EJazdaMHD();
23 
24  static unsigned char GetZoneBufferSize();
25 
26  unsigned char GetZoneCount();
27  unsigned short *GetZones();
28  unsigned short GetZoneByIdx( unsigned int idx );
29 
33  void setZona( unsigned char *zony, unsigned char pocetZon );
34 
35  void SetZones( unsigned short *zones, unsigned char zoneCount );
36 
37  void SetZoneCount( unsigned char zoneCount );
38 
50  void setPasmoPoradie( unsigned char *pasmoPoradie, unsigned char pocet );
51  unsigned char *getPasmoPoradie();
52  unsigned char getPasmoPoradieByIdx( unsigned char idx );
53  unsigned char getPasmoPoradiePocet();
54 
55  unsigned long GetDestinationBusstopID();
56  void SetDestinationBusstopID( unsigned long destinationBusstopID );
57  unsigned short GetValidityTime();
58  void SetValidityTime( unsigned short validityTime );
59  long GetSumaryPrice();
60  void SetSumaryPrice( long sumaryPrice );
61 
62  // Flags
63  unsigned char GetFlags();
64  void SetFlags( unsigned char flags );
65 
66  bool GetInterchangeFlag();
67  void SetInterchangeFlag( bool interchangeFlag );
68 
69  bool GetContinuousTripFlag();
70  void SetContinuousTripFlag( bool continuousTripFlag );
71 
72  private:
73  class DataClass;
74  DataClass *d;
75  };
76  }
77  }
78 }
79 
80 #endif
Class ECol : Objekt je predok pre vsetky nasledujuce kolekcie
Definition: ColReader.h:15
#define DATAIO_API
Definition: DataIODefines.h:10