Wrap more classes into ifcopenshell:: namespace

This commit is contained in:
Thomas Krijnen
2026-08-08 13:58:39 +02:00
parent 2c47c9d4fa
commit 02481b3247
149 changed files with 678 additions and 627 deletions
+3 -3
View File
@@ -11,20 +11,20 @@
#include <boost/shared_ptr.hpp>
class json_serializer : public serializer {
class json_serializer : public ifcopenshell::geom::serializer {
public:
enum Dialect {
JSON_DIALECT_CREOOX
};
private:
boost::shared_ptr<serializer> implementation_;
boost::shared_ptr<ifcopenshell::geom::serializer> implementation_;
protected:
std::string json_filename;
Dialect dialect_;
public:
json_serializer(ifcopenshell::file* file, const std::string& json_filename, Dialect dialect = Dialect::JSON_DIALECT_CREOOX, ::logger& logger = ::logger::root())
json_serializer(ifcopenshell::file* file, const std::string& json_filename, Dialect dialect = Dialect::JSON_DIALECT_CREOOX, ifcopenshell::logger& logger = ifcopenshell::logger::root())
: json_filename(json_filename)
, dialect_(dialect)
{