DataIO
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
ESetVodici.h
Go to the documentation of this file.
1 #if !defined ESETVODICI_H
2 #define ESETVODICI_H
3 
4 #include "dataio/DataIODefines.h"
5 #include "core/common/Node.h"
6 #include <string>
7 
8 namespace EM
9 {
10  namespace Strojcek
11  {
12  namespace VstupneUdaje
13  {
14  namespace Nastavenia
15  {
16  class ESetVodiciCol;
17 
18  class DATAIO_API ESetVodici : public ENode
19  {
20  public:
21  enum VodicTyp
22  {
23  typVodic = 0,
24  typServisak = 1
25  };
26 
27  ESetVodici( ESetVodiciCol *owner );
28  virtual ~ESetVodici();
29 
30  ESetVodiciCol *GetOwner();
31 
32  long GetOsobneCislo();
33  std::string &GetHeslo();
34  std::string &GetMeno();
35  std::string &GetPriezvisko();
36  ESetVodici::VodicTyp GetVodicTyp();
37  std::string GetVodicTypStr();
38  std::string GetStredisko();
39  unsigned char GetVodicskyPreukaz();
40 
41  void SetVodicskyPreukaz( unsigned char newVal );
42  void SetOsobneCislo( long osobneCislo );
43  void SetHeslo( const std::string &newVal );
44  void SetMeno( const std::string &newVal );
45  void SetPriezvisko( const std::string &newVal );
46  void SetVodicTyp( ESetVodici::VodicTyp vodicType );
47  void SetStredisko( char *newVal );
48 
49  ESetVodici *GetLeft();
50  ESetVodici *GetRight();
51 
52  protected:
53  virtual long Write( FILE *file );
54 
55  private:
56  class DataClass;
57  DataClass *d;
58  };
59  }
60  }
61  }
62 }
63 
64 #endif
Class ECol : Objekt je predok pre vsetky nasledujuce kolekcie
Definition: ColReader.h:15
#define DATAIO_API
Definition: DataIODefines.h:10