DEADSOFTWARE

fix gcc 4.0
[odcread.git] / store / store.cc
index 76f0586f3fcf6d714114366bfdd4c80bec024d4f..69ca4f8c2bb1586a32c3d794a776af8a5b7ac36d 100644 (file)
@@ -1,8 +1,4 @@
-#include "store/store.h"
-#include "reader/reader.h"
-#include "visitor/visitor.h"
-
-#include <iostream>
+#include "store/module.ih"
 
 namespace odc {
 
@@ -43,49 +39,4 @@ std::string Store::toString() {
 
 void Store::accept(Visitor &visitor) const {}
 
-const std::string Elem::TYPENAME("Stores.Elem^");
-const TypeProxy<Elem, Store> Elem::PROXY;
-
-Elem::Elem(INTEGER id) : Store(id) {}
-
-const std::string &Elem::getTypeName() const {
-       return TYPENAME;
-}
-
-void Elem::internalize(Reader &reader) {
-       Store::internalize(reader);
-       if (reader.isCancelled()) return;
-       reader.readVersion(0, 0);
-}
-
-const std::string Model::TYPENAME("Models.Model^");
-const TypeProxy<Model, Elem> Model::PROXY;
-
-Model::Model(INTEGER id) : Elem(id) {}
-
-const std::string &Model::getTypeName() const {
-       return TYPENAME;
-}
-
-void Model::internalize(Reader &reader) {
-       Elem::internalize(reader);
-       if (reader.isCancelled()) return;
-       reader.readVersion(0, 0);
-}
-
-const std::string ContainerModel::TYPENAME("Containers.Model^");
-const TypeProxy<ContainerModel, Model> ContainerModel::PROXY;
-
-ContainerModel::ContainerModel(INTEGER id) : Model(id) {}
-
-const std::string &ContainerModel::getTypeName() const {
-       return TYPENAME;
-}
-
-void ContainerModel::internalize(Reader &reader) {
-       Model::internalize(reader);
-       if (reader.isCancelled()) return;
-       reader.readVersion(0, 0);
-}
-
 } // namespace odc