DataIO
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
ENastavenieCol.h
Go to the documentation of this file.
1 #if !defined(AFX_ENASTAVENIA_H__C6EE9CA0_98DE_4D92_AE77_230A2EFE1ADF__INCLUDED_)
2 #define AFX_ENASTAVENIA_H__C6EE9CA0_98DE_4D92_AE77_230A2EFE1ADF__INCLUDED_
3 
4 #include "dataio/DataIODefines.h"
5 #include "core/common/Head.h"
6 #include "dataio/datainput/ColReader.h"
7 
8 namespace EM
9 {
10  namespace Strojcek
11  {
12  namespace VstupneUdaje
13  {
14  namespace TarifnySystem
15  {
16  class ERootTarifnySystem;
17  class ENastavenie;
18 
19  class DATAIO_API ENastavenieCol : public EHead, public EColReader
20  {
21  public:
22  ENastavenieCol( ERootTarifnySystem *owner );
23  virtual ~ENastavenieCol();
24 
25  ERootTarifnySystem *GetOwner();
26 
27  ENastavenie *AddNastavenie( unsigned char mena );
28  ENastavenie *GetNastavenieByDomMenaID( unsigned char domMenaID );
29  long GetNastavenieHodnota( long settingID, long DefHodnota = 0 );
30  void Read();
31  virtual long ReadData( FILE *file );
32  virtual long GetSize();
33  virtual long FillRecord( const char *pomPole, long minimum );
34  ENastavenie *GetFirst();
35 
36  private:
37  ERootTarifnySystem *mOwner;
38  };
39  }
40  }
41  }
42 }
43 
44 #endif
Class ECol : Objekt je predok pre vsetky nasledujuce kolekcie
Definition: ColReader.h:15
#define DATAIO_API
Definition: DataIODefines.h:10