DataIO
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
ETypKartyTypZlavyCol.h
Go to the documentation of this file.
1 #if !defined(AFX_ETYPKARTY_TYPYZLAV_H__DCAF7180_CED8_49DE_8AC6_3A4F00654769__INCLUDED_)
2 #define AFX_ETYPKARTY_TYPYZLAV_H__DCAF7180_CED8_49DE_8AC6_3A4F00654769__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 ERootTarifnySystem;
17  class ETypKartyTypZlavy;
18 
19  class DATAIO_API ETypKartyTypZlavyCol : public EHead, public EColReader
20  {
21  public:
22  ETypKartyTypZlavyCol( ERootTarifnySystem *owner );
23  virtual ~ETypKartyTypZlavyCol();
24 
25  ERootTarifnySystem *GetOwner();
26 
27  void Read();
28  ETypKartyTypZlavy *GetTypKartyTypZlavyByTypKartyID( char typKartyID );
29  ETypKartyTypZlavy *GetTypKartyTypZlavyByTypKartyID( unsigned char typKartyID, unsigned short cisloZavodu );
30  virtual long ReadData( FILE *file );
31  virtual long GetSize();
32  virtual long FillRecord( const char *pomPole, long minimum );
33  ETypKartyTypZlavy *GetFirst();
34 
35  private:
36  ETypKartyTypZlavy *AddTypKartyTypZlavy( unsigned char kartaID,
37  unsigned char JLID,
38  unsigned char CLID,
39  unsigned char KZID,
40  unsigned char ExtJLID,
41  unsigned char ExtCLID,
42  unsigned char ExtKZID,
43  unsigned short cisloZavodu,
44  unsigned short ids,
45  unsigned short dailyCapping,
46  unsigned short weeklyCapping );
47 
48  ERootTarifnySystem *mOwner;
49  };
50  }
51  }
52  }
53 }
54 
55 #endif
Class ECol : Objekt je predok pre vsetky nasledujuce kolekcie
Definition: ColReader.h:15
#define DATAIO_API
Definition: DataIODefines.h:10