DataIO
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
ECipovaKarta.h
Go to the documentation of this file.
1 #if !defined(ECipovaKarta_5291F75A_C889_4b4b_B6F0_2102237FAF4D__INCLUDED_)
2 #define ECipovaKarta_5291F75A_C889_4b4b_B6F0_2102237FAF4D__INCLUDED_
3 
4 #include "dataio/DataIODefines.h"
5 #include "dataio/dataoutput/EStatistikaStruct.h"
6 #include "core/common/eplatform.h"
7 
8 namespace EM
9 {
10  namespace Strojcek
11  {
12  namespace StatistikaStrojcek
13  {
15  {
17  JazdaNaCL = 2,
18  PredajCL = 3,
19  JazdaNaKZ = 4,
20  ListokVRezimeMHD = 5,
23  TripTicketJazda = 8,
25  };
26 
27  class ECestovnyListok;
28  class EPrenosCL;
29  class EPrenosZostatku;
30  class EVratenieZostatku;
31  class ELogEP;
32 
33  class DATAIO_API ECipovaKarta
34  {
35  public:
36  ECipovaKarta();
37  ECipovaKarta( ECipovaKarta &cipovaKarta );
38  virtual ~ECipovaKarta();
39 
40  ECipovaKarta& operator=( ECipovaKarta &cipovaKarta );
41 
42  unsigned long getCisloKarty();
43  unsigned short getCisloOperacie();
44  unsigned short getCisloZavodu();
45  long long GetSNR();
46  unsigned char getTypKarty();
47  unsigned char GetCardSubType();
56  unsigned short getTypOperacie();
57  long getZostatok();
58  unsigned short getCisloZavoduEP();
59  long getPociatocnyStav();
60  unsigned char getPriznaky();
61  int getCisloOperacieSAM();
62  bool GetNedokoncenaOperacia();
63  bool GetJednosmernyZiackyCL();
64  bool GetTyzdennyMesacnyZiackyCL();
65  char GetTypNefinancnejOperacie();
66  unsigned long getUdalostID();
67  unsigned char getDruhKarty();
68  bool GetBitByIdx( unsigned int idx );
69  bool GetNonDefaultTariff();
70  unsigned char GetManual();
71  bool GetManualBitByIdx( unsigned int idx );
72  unsigned short GetNetworkCode();
73 
81  unsigned char GetTicketIndex();
82 
83  void setCisloKarty( unsigned long newVal );
84  void setCisloOperacie( unsigned short newVal );
85  void setCisloZavodu( unsigned short newVal );
86  void SetSNR( long long newVal );
87  void setTypKarty( unsigned char newVal );
88  void SetCardSubType( unsigned char cardSubType );
89 
93  void setTypOperacie( unsigned short newVal );
94  void setZostatok( long newVal );
95  void setCisloZavoduEP( unsigned short newVal );
96  void setPociatocnyStav( long newVal );
97  void setPriznaky( unsigned char newVal );
98  void setCisloOperacieSAM( int newVal );
99  void SetNedokoncenaOperacia( bool newVal );
100  void SetJednosmernyZiackyCL( bool newVal );
101  void SetTyzdennyMesacnyZiackyCL( bool newVal );
102  void SetTypNefinancnejOperacie( char newVal );
103  void setUdalostID( unsigned long newVal );
104  void setDruhKarty( unsigned char newVal );
105  void SetBitByIdx( bool newVal,unsigned int idx );
106  void SetManual( unsigned char newVal );
107  void SetManualBitByIdx( bool newVal, unsigned int idx );
108  void SetNonDefaultTariff( bool newVal );
109  void SetNetworkCode( unsigned short networkCode );
113  void SetTicketIndex( unsigned char ticketIndex );
114 
115  EPrenosCL *GetPrenosCL();
116  EPrenosZostatku *GetPrenosZostatku();
117  EVratenieZostatku *GetVratenieZostatku();
118  ELogEP *GetLogEP();
119 
120  void AddPrenosCL( EPrenosCL *newVal );
121  void AddPrenosZostatku( EPrenosZostatku *newVal );
122  void AddVratenieZostatku( EVratenieZostatku *newVal );
123  void AddLogEP( ELogEP *logEP );
124 
125  void fillInCK1( CK1 &ck1 );
126  void fillUpCK1( CK1 &ck1 );
127 
128  void fillInLOG_EP( LOG_EP &logEP );
129  void fillUpLOG_EP( LOG_EP &logEP );
130 
131  ECestovnyListok *getOwner();
132  void setOwner( ECestovnyListok *newVal );
133 
134  private:
135  class DataClass;
136  DataClass *d;
137  };
138  }
139  }
140 }
141 
142 #endif
Definition: ECipovaKarta.h:18
Definition: ECipovaKarta.h:17
Definition: ECipovaKarta.h:19
Class ECol : Objekt je predok pre vsetky nasledujuce kolekcie
Definition: ColReader.h:15
TypNefinancnejOperacieCK
Definition: ECipovaKarta.h:14
#define DATAIO_API
Definition: DataIODefines.h:10