DataIO
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
ETextCol.h
Go to the documentation of this file.
1 #if !defined ETEXT_COL_H
2 #define ETEXT_COL_H
3 
4 #include "dataio/DataIODefines.h"
5 #include "dataio/datainput/ColReader.h"
6 #include "dataio/datainput/ERootTabule.h"
7 #include "core/common/Head.h"
8 
9 namespace EM
10 {
11  namespace Strojcek
12  {
13  namespace VstupneUdaje
14  {
15  namespace Tabule
16  {
17  #define TABTEXTFILENAME "tabText.dat"
18  class ETabula;
19  class EText;
20  class EFileSystem;
21 
22  class DATAIO_API ETextCol : public EHead, public EColReader
23  {
24  public:
25  ETextCol( ERootTabule *owner );
26  virtual ~ETextCol();
27 
28  ERootTabule *GetOwner();
29 
30  void Add( EText *newVal );
31  long Write();
32  long Write( EFileSystem *file );
33  long Read();
34  long Read( FILE *file );
35  EText *FindTextByTextID( long textID );
36  virtual long GetSize();
37  virtual long FillRecord( const char *pomPole, long minimum );
38  EText* GetFirst();
39 
40  private:
41  ERootTabule *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