DataIO
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
ESetKalendarCol.h
Go to the documentation of this file.
1 #ifndef EM_STROJCEK_VSTUPNEUDAJE_NASTAVENIAESETKALENDARCOL_H
2 #define EM_STROJCEK_VSTUPNEUDAJE_NASTAVENIAESETKALENDARCOL_H
3 
4 #include "dataio/DataIODefines.h"
5 #include "dataio/datainput/ColReader.h"
6 #include "core/common/Head.h"
7 
8 namespace EM
9 {
10  namespace Strojcek
11  {
12  namespace VstupneUdaje
13  {
14  namespace Nastavenia
15  {
16  class ERootNastavenia;
17  class ESetKalendar;
18 
19  class DATAIO_API ESetKalendarCol : public EHead, public EColReader
20  {
21  public:
23  virtual ~ESetKalendarCol();
24 
25  ERootNastavenia *GetOwner();
26  ESetKalendar *GetByDatum( unsigned long datum );
27 
28  void Add( ESetKalendar *setKalendar );
29  long Write();
30  long Read();
31 
32  virtual long GetSize();
33  virtual long FillRecord( const char *pomPole, long minimum );
34  ESetKalendar* GetFirst();
35 
36  protected:
37  virtual long ReadData( FILE *file );
38 
39  private:
40  long InitFile( const char *fileName );
41 
42  ERootNastavenia *mOwner;
43  };
44  }
45  }
46  }
47 }
48 
49 #endif
Definition: ColReader.h:21
Class ECol : Objekt je predok pre vsetky nasledujuce kolekcie
Definition: ColReader.h:15
#define DATAIO_API
Definition: DataIODefines.h:10