From 029c2cc33dffa6e4963e2f74c52cfe3bac88406c Mon Sep 17 00:00:00 2001 From: johltn Date: Fri, 19 Feb 2021 17:05:32 +0100 Subject: [PATCH] Cleaning --- src/serializers/HdfSerializer.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/serializers/HdfSerializer.cpp b/src/serializers/HdfSerializer.cpp index 6efd697424..d9663cf8f4 100644 --- a/src/serializers/HdfSerializer.cpp +++ b/src/serializers/HdfSerializer.cpp @@ -82,8 +82,7 @@ HdfSerializer::HdfSerializer(const std::string& hdf_filename, const SerializerSe bool HdfSerializer::ready() { - - //return obj_stream.is_open() && mtl_stream.is_open(); + //todo: check whether the file exists return true; } @@ -97,9 +96,6 @@ void HdfSerializer::writeHeader() { void HdfSerializer::write(const IfcGeom::BRepElement* o) { std::string guid = o->guid(); - //Logger::Status(guid); - //Logger::Status(o->context()); - //Logger::Status("\n"); H5::Group elementGroup; @@ -136,7 +132,6 @@ void HdfSerializer::write(const IfcGeom::BRepElement* o) { H5::Attribute att = elementGroup.createAttribute("IFC entity type", str_type, attrdspace); att.write(str_type, value); - const int RANK = 2; hsize_t dimsf[2]; dimsf[0] = vcount;