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