DataIO
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
EPriznakyKLCol.h
Go to the documentation of this file.
1 #if !defined(EPriznakyKLCol_B5BC89FD_EFF2_498f_9A15_D8265C3ABA69__INCLUDED_)
2 #define EPriznakyKLCol_B5BC89FD_EFF2_498f_9A15_D8265C3ABA69__INCLUDED_
3 
4 #include "dataio/DataIODefines.h"
5 #include "dataio/dataoutput/EStatistikaStruct.h"
6 #include "core/common/Head.h"
7 #include <string>
8 
9 #define ABSPOCITADLOFILE "absPocitadlo.bin"
10 
11 namespace EM
12 {
13  namespace Strojcek
14  {
15  namespace StatistikaStrojcek
16  {
17  class EKoncovyListok;
18  class EPriznakyKL;
19 
20  typedef struct POCITADLO_STRUCT
21  {
22  unsigned long pocet;
23  unsigned long suma;
25 
26  class DATAIO_API EPriznakyKLCol : public EHead
27  {
28  public:
29  EPriznakyKLCol( EKoncovyListok *owner );
30  virtual ~EPriznakyKLCol();
31 
32  void add( EPriznakyKL *newVal );
33  long createEmptyXmlFile();
34  long readXmlFile();
35  long writeXmlFile();
36 
37  EKoncovyListok *getOwner();
38 
39  bool write();
40  bool read();
41  EPriznakyKL* GetFirst();
42  EPriznakyKL* GetByIdx( unsigned long i );
43 
44  private:
45  void GetFileName( std::string &pathName );
46  long ReadCountersOld( FILE *f );
47  EKoncovyListok *mOwner;
48  };
49  }
50  }
51 }
52 
53 #endif
unsigned long pocet
Definition: EPriznakyKLCol.h:22
unsigned long suma
Definition: EPriznakyKLCol.h:23
Class ECol : Objekt je predok pre vsetky nasledujuce kolekcie
Definition: ColReader.h:15
#define DATAIO_API
Definition: DataIODefines.h:10
struct EM::Strojcek::StatistikaStrojcek::POCITADLO_STRUCT PocitadloStruct