X-Git-Url: http://deadsoftware.ru/gitweb?p=odcread.git;a=blobdiff_plain;f=store.h;h=da8434060bf2af7999e2440fb45e85fb33efaef6;hp=54438ab4845b72d44b563fa16c1901897b79099a;hb=9b0fce2b8ea23e4eb23485421e1d80a774c912b3;hpb=252b7a3f5d7ea1205ea360cb2bc59853f60df070 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_