DataIO
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
EIntervalCol.h
Go to the documentation of this file.
1 #if !defined(AFX_EINTERVALY_H__E3BD3E4E_F244_4EAF_8705_C99A05F60DC1__INCLUDED_)
2 #define AFX_EINTERVALY_H__E3BD3E4E_F244_4EAF_8705_C99A05F60DC1__INCLUDED_
3 
4 #include "core/common/Head.h"
5 #include "dataio/datainput/EInterval.h"
6 #include "dataio/datainput/ColReader.h"
7 #include "dataio/DataIODefines.h"
8 
9 namespace EM
10 {
11  namespace Strojcek
12  {
13  namespace VstupneUdaje
14  {
15  namespace TarifnySystem
16  {
17  class EInterval;
18  class ERootTarifnySystem;
19  class ENastavenie;
20 
21  class DATAIO_API EIntervalCol : public EHead, public EColReader
22  {
23  public:
24  EIntervalCol( ENastavenie *owner );
25  virtual ~EIntervalCol();
26 
27  ENastavenie *GetOwner();
28 
29  EInterval *AddInterval( long od, long doo, unsigned char typ );
30  void Read();
31  EInterval *GetIntervalByTypIntervaluID( EInterval::IntervalType typIntervaluID );
32  EInterval *GetIntervalByCas( long cas );
33  EInterval *GetIntervalByCas( long cas, int typTS );
34 
35  virtual long ReadData( FILE *file );
36  virtual long GetSize();
37  virtual long FillRecord( const char *pomPole, long minimum );
38  EInterval* GetFirst();
39 
40  private:
41  ENastavenie *mOwner;
42  };
43  }
44  }
45  }
46 }
47 
48 #endif
Class ECol : Objekt je predok pre vsetky nasledujuce kolekcie
Definition: ColReader.h:15
#define DATAIO_API
Definition: DataIODefines.h:10