DataIO
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
ETarifaCol.h
Go to the documentation of this file.
1 #if !defined(AFX_ETARIFY_H__EA14F6EC_77EA_482E_BC2B_B153F277FD35__INCLUDED_)
2 #define AFX_ETARIFY_H__EA14F6EC_77EA_482E_BC2B_B153F277FD35__INCLUDED_
3 
4 #include "core/common/Head.h"
5 #include "dataio/datainput/ColReader.h"
6 #include "dataio/DataIODefines.h"
7 
8 namespace EM
9 {
10  namespace Strojcek
11  {
12  namespace VstupneUdaje
13  {
14  namespace TarifnySystem
15  {
16  class ETarifa;
17  class ERootTarifnySystem;
18 
19  class DATAIO_API ETarifaCol : public EHead, public EColReader
20  {
21  public:
23  virtual ~ETarifaCol();
24 
25  ERootTarifnySystem *GetOwner();
26 
27  ETarifa *AddTarifu( unsigned short id,
28  const char *nazov,
29  bool zachadzky,
30  unsigned char listokID,
31  unsigned char zlavaID,
32  unsigned char uctovnyDruhID,
33  unsigned char menaID,
34  long cennikID,
35  const char *skratenyNazov );
36 
37  ETarifa *GetTarifaBy( unsigned char cisloTarifnejSkupiny, unsigned short cisloTarify );
38  ETarifa *GetTarifaByCisloTarifnehoListka( unsigned short cisloTarifnehoListka );
39  ETarifa *GetTarifaBy( char cisloTarifnejSkupiny, char typKarty, unsigned char typListkaID, unsigned char vlastnyZavod );
40  ETarifa *GetTarifaBy( unsigned char *typListkaIDCol, int count, char cisloTarifnejSkupiny, char typKarty, unsigned char vlastnyZavod );
41 
42  void Read();
43  virtual long ReadData( FILE *file );
44  virtual long GetSize();
45  virtual long FillRecord( const char *pomPole, long minimum );
46  ETarifa *GetFirst();
47  ETarifa *GetTarifaByCisloTarifnehoListkaCennikID( unsigned short cisloTarifnehoListka, long cennikID );
48 
49  private:
50  ERootTarifnySystem *mOwner;
51  };
52  }
53  }
54  }
55 }
56 
57 #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