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