DEADSOFTWARE

Disable debug output, read TextPieces into memory
[odcread.git] / odcread.cc
index 27117ddeab85d2240d89bd82ce6a3c82d6ae7577..6d506685882012eef28356b70f36ef21e8fd51cb 100644 (file)
@@ -30,11 +30,13 @@ int main(int argc, char *argv[]) {
        }
        std::ifstream in(argv[1], std::ios::in | std::ios::binary);
        odc::Store* s = odc::importDocument(in);
-       //std::cout << s->toString() << std::endl;
-       //std::cout << in.tellg() << " " << in.eof() << std::endl;
+       std::cout << std::endl << std::endl;
+
+       std::cout << s->toString() << std::endl;
+       std::cout << in.tellg() << " " << in.eof() << std::endl;
 
        odc::TypePath path;
        odc::ContainerModel(0).getTypePath(&path);
-       //std::cout << path.toString() << std::endl;
+       std::cout << path.toString() << std::endl;
        return 0;
 }