DEADSOFTWARE

13a3d56df9803caf546a0907117f9d21e79e84f5
[odcread.git] / textmodel.h
1 #ifndef _TEXTMODEL_H_
2 #define _TEXTMODEL_H_
4 #include <oberon.h>
5 #include <typeregister.h>
6 #include <store.h>
8 namespace odc {
10 class TextModel : public ContainerModel {
11 private:
12 static const std::string TYPENAME;
13 static const TypeProxy<TextModel> PROXY;
15 public:
16 TextModel(INTEGER id);
17 static const std::string &getType();
18 static const std::string *getSuper();
19 virtual const std::string &getTypeName() const;
20 virtual void internalize(Reader &reader);
21 };
23 class StdTextModel : public TextModel {
24 private:
25 static const std::string TYPENAME;
26 static const TypeProxy<StdTextModel> PROXY;
28 public:
29 StdTextModel(INTEGER id);
30 static const std::string &getType();
31 static const std::string *getSuper();
32 virtual const std::string &getTypeName() const;
33 virtual void internalize(Reader &reader);
34 };
36 } // namespace odc
38 #endif // _TEXTMODEL_H_