X-Git-Url: https://deadsoftware.ru/gitweb?p=odcread.git;a=blobdiff_plain;f=store.h;h=da8434060bf2af7999e2440fb45e85fb33efaef6;hp=54438ab4845b72d44b563fa16c1901897b79099a;hb=98bcd76b4c284676f55d754879dee9bda1898924;hpb=8987976196a50e3e9639879990c7473610ff5369 diff --git a/store.h b/store.h index 54438ab..da84340 100644 --- a/store.h +++ b/store.h @@ -27,7 +27,6 @@ namespace odc { private: static const std::string TYPENAME; static const TypeProxy PROXY; - static TypePath *s_typePath; INTEGER d_id; @@ -63,7 +62,7 @@ namespace odc { * Get the TypePath to this object's type. * @see TypePath */ - const TypePath &getTypePath() const; + void getTypePath(TypePath *path) const; /** * PROCEDURE (s: Store) Domain (): Domain @@ -133,7 +132,7 @@ namespace odc { virtual std::string toString(); private: - TypePath *calcTypePath(const std::string &name) const; + void calcTypePath(TypePath * out, const std::string &name) const; }; class Elem : public Store { @@ -200,32 +199,6 @@ namespace odc { virtual const std::string &getTypeName() const; virtual void internalize(Reader &reader); }; - - class TextModel : public ContainerModel { - private: - static const std::string TYPENAME; - static const TypeProxy PROXY; - - public: - TextModel(INTEGER id); - static const std::string &getType(); - static const std::string *getSuper(); - virtual const std::string &getTypeName() const; - virtual void internalize(Reader &reader); - }; - - class StdTextModel : public TextModel { - private: - static const std::string TYPENAME; - static const TypeProxy PROXY; - - public: - StdTextModel(INTEGER id); - static const std::string &getType(); - static const std::string *getSuper(); - virtual const std::string &getTypeName() const; - virtual void internalize(Reader &reader); - }; } #endif // _STORE_H_