DataIO
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
EConfig.h
Go to the documentation of this file.
1 #if !defined ECONFIG_H
2 #define ECONFIG_H
3 
4 #include "dataio/DataIODefines.h"
5 #include "dataio/dataoutput/ERootStatistika.h"
6 #include <cstdio>
7 
8 class EXMLConfig;
9 
10 #define STATISTIKACFGFILE "statistikacfg.xml"
11 
12 namespace EM
13 {
14  namespace Strojcek
15  {
16  namespace StatistikaStrojcek
17  {
18  class ERootStatistika;
19 
21  {
22  public:
23  EConfig( ERootStatistika *owner );
24  ~EConfig();
25 
26  unsigned short GetCisloOdpoctu();
27  unsigned long GetCisloListka();
28  unsigned long GetDatumOdpoctu();
29  unsigned char GetOtvorenyOdpocet();
30  unsigned char GetOtvorenySubor();
31  unsigned long GetTicketNumberOnlineStat();
32 
33  void SetCisloOdpoctu( unsigned short newVal );
34  void SetCisloListka( unsigned long newVal );
35  void SetDatumOdpoctu( unsigned long newVal );
36  void SetOtvorenyOdpocet( unsigned char newVal );
37  void SetOtvorenySubor( unsigned char newVal );
38  void SetTicketNumberOnlineStat( unsigned long newVal );
39 
40  FILE *GetConfigFile();
41  ERootStatistika *GetOwner();
42  EXMLConfig *GetEXMLConfig();
43  void SetEXMLConfig( EXMLConfig *newVal );
44 
45  void IncCisloListka();
46  void IncCisloOdpoctu();
47  void IncTicketNumberOnlineStat();
48 
49  bool IsCfgBackUpCorrect();
50 
51  void read();
52  void write();
53 
54  private:
55  class DataClass;
56  DataClass *d;
57  };
58  }
59  }
60 }
61 
62 #endif
Class ECol : Objekt je predok pre vsetky nasledujuce kolekcie
Definition: ColReader.h:15
#define DATAIO_API
Definition: DataIODefines.h:10