DataIO
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
ENastavenieHodnotaCol.h
Go to the documentation of this file.
1 #if !defined(AFX_ENASTAVENIE_HODNOTY_H__E8301EB0_FE60_4DD8_BA17_062603A45EBD__INCLUDED_)
2 #define AFX_ENASTAVENIE_HODNOTY_H__E8301EB0_FE60_4DD8_BA17_062603A45EBD__INCLUDED_
3 
4 #include "dataio/DataIODefines.h"
5 #include "core/common/Array.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  class ENastavenieHodnota;
19 
20  class DATAIO_API ENastavenieHodnotaCol : public EArray, public EColReader
21  {
22  public:
24  virtual ~ENastavenieHodnotaCol();
25 
26  ENastavenie *GetOwner();
27 
28  ENastavenieHodnota *AddNastavenie_Hodnota( long hodnota, unsigned short typ );
29  ENastavenieHodnota *GetNastavenie_HodnotaByID( long nastHodID );
30  long GetHodnotaByID( long nastHodID, long defValue = 0 );
31 
32  void Read();
33  virtual long ReadData( FILE *file );
34  virtual long GetSize();
35  virtual long FillRecord( const char *pomPole, long minimum );
36 
37  private:
38  ENastavenie *mOwner;
39  };
40  }
41  }
42  }
43 }
44 
45 #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