DataIO
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
ERiadokCol.h
Go to the documentation of this file.
1 #if !defined ERIADOK_COL_H
2 #define ERIADOK_COL_H
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 Tabule
15  {
16  #define TABRIADOKFILENAME "tabRiadok.dat"
17 
18  class EZobrazenie;
19  class ERiadok;
20  class EFileSystem;
21 
22  class DATAIO_API ERiadokCol : public EHead, public EColReader
23  {
24  public:
25  ERiadokCol( EZobrazenie *owner );
26  virtual ~ERiadokCol();
27 
28  EZobrazenie *GetOwner();
29 
30  void Add( ERiadok *newVal );
31  long Write();
32  long Write( EFileSystem *file );
33  long Read( unsigned long pocet, unsigned long start );
34 
37  ERiadok *FindRiadokByRiadok( char riadok );
38  long Read( FILE *file, unsigned long pocet, unsigned long start );
39  virtual long GetSize();
40  virtual long FillRecord( const char *pomPole, long minimum );
41  ERiadok *GetFirst();
42 
43  private:
44  EZobrazenie *mOwner;
45  };
46  }
47  }
48  }
49 }
50 
51 #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