DataIO
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
EM_Output_Data_PersonalData.h
Go to the documentation of this file.
1 #ifndef EM_PERSONAL_DATA_H
2 #define EM_PERSONAL_DATA_H
3 
4 #include "dataio/DataIODefines.h"
5 #include "dataio/dataoutput/EAbstraktnyZaznam.h"
6 #include "dataio/dataoutput/ECestovnyListok.h"
7 #include "core/common/eplatform.h"
8 
9 namespace EM
10 {
11  namespace Strojcek
12  {
13  namespace StatistikaStrojcek
14  {
15  class EPersonalDataCol;
16 
17  class DATAIO_API EPersonalData : public EAbstraktnyZaznam
18  {
19  public:
20  EPersonalData();
21  virtual ~EPersonalData();
22 
23  long long GetSNR();
24  unsigned char GetTypKarty();
25  unsigned long GetPlatnostKarty();
26  unsigned long GetPlatnostZlavy();
27  unsigned long GetDatumNarodenia();
28  char* GetMeno();
29  char* GetPriezvisko();
30 
31  void SetSNR( long long newVal );
32  void SetTypKarty( unsigned char newVal );
33  void SetPlatnostKarty( unsigned long daysFrom1980 );
34  void SetPlatnostZlavy( unsigned long daysFrom1980 );
35  void SetDatumNarodenia( unsigned long daysFrom1900 );
36  void SetMeno( char* newVal );
37  void SetPriezvisko( char* newVal );
38 
39  virtual short getChksum();
40 
41  VystupneData* SendPersonalData();
42  void ReceivePersonalData( VystupneData *vstupneData );
43 
44  EPersonalDataCol *getOwner();
45  void setOwner( EPersonalDataCol *newVal );
46 
47  bool write();
48  bool read();
49 
50  private:
51  class EPersonalDataPr;
52  EPersonalDataPr *mData;
53  };
54 
55  }
56  }
57 }
58 
59 #endif
Class ECol : Objekt je predok pre vsetky nasledujuce kolekcie
Definition: ColReader.h:15
#define DATAIO_API
Definition: DataIODefines.h:10