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