DataIO
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
ECennikPlatnostCol.h
Go to the documentation of this file.
1 #ifndef EM_STROJCEK_VSTUPNEUDAJE_TARIFNYSYSTEMECENNIKPLATNOSTCOL_H
2 #define EM_STROJCEK_VSTUPNEUDAJE_TARIFNYSYSTEMECENNIKPLATNOSTCOL_H
3 
4 #include "dataio/DataIODefines.h"
5 #include "dataio/datainput/ColReader.h"
6 #include "core/common/Head.h"
7 #include "core/common/EDate.h"
8 
9 using namespace EM::Common;
10 
11 namespace EM
12 {
13  namespace Strojcek
14  {
15  namespace VstupneUdaje
16  {
17  namespace TarifnySystem
18  {
19  class ECennik;
20  class ETarifnePasmoCol;
21  class EOdchylkyCol;
22  class ECennikPlatnost;
23 
24  class DATAIO_API ECennikPlatnostCol : public EHead, public EColReader
25  {
26  public:
27  ECennikPlatnostCol( ECennik *owner );
28  ~ECennikPlatnostCol();
29 
30  ECennik *GetOwner();
31 
32  ETarifnePasmoCol *GetTarifnePasmoCol( EDate &platnost );
33  ETarifnePasmoCol *GetTarifnePasmoCol();
34  EOdchylkyCol *GetOdchylkyCol( EDate &platnost );
35  EOdchylkyCol *GetOdchylkyCol();
36 
37  void Add( EDate &platnostOD, EDate &platnostDO, long cennikID, long cennikPlatnostID, long odchylkyOffset );
38 
39  void Read();
40  ECennikPlatnost *GetCennikPlatnost( EDate &platnost );
41  virtual long ReadData( FILE *file );
42  virtual long GetSize();
43  virtual long FillRecord( const char *pomPole, long minimum );
44  ECennikPlatnost *GetFirst();
45 
46  private:
47  ECennik *mOwner;
48  };
49  }
50  }
51  }
52 }
53 
54 #endif
Class ECol : Objekt je predok pre vsetky nasledujuce kolekcie
Definition: ColReader.h:15
#define DATAIO_API
Definition: DataIODefines.h:10