DataIO
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
EMenaCol.h
Go to the documentation of this file.
1 #if !defined(AFX_EMENY_H__AE5BC7CB_400C_44DF_B9D8_908BBC183B1D__INCLUDED_)
2 #define AFX_EMENY_H__AE5BC7CB_400C_44DF_B9D8_908BBC183B1D__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 EMena;
18 
19  class DATAIO_API EMenaCol : public EHead, public EColReader
20  {
21  public:
22  EMenaCol( ERootTarifnySystem *owner );
23  virtual ~EMenaCol();
24 
25  ERootTarifnySystem *GetOwner();
26 
27  EMena *AddMenu( char id, char *skratka, float koef );
28  EMena *GetMenuByMenaID( unsigned char menaID );
29  void Read();
30  virtual long ReadData( FILE *file );
31  virtual long GetSize();
32  virtual long FillRecord( const char *pomPole, long minimum );
33  EMena *GetFirst();
34  EMena *GetByIdx( unsigned long i );
35 
36  private:
37  ERootTarifnySystem *mOwner;
38  };
39  }
40  }
41  }
42 }
43 
44 #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