mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-21 10:23:41 +00:00
anon namespace
This commit is contained in:
@@ -48,6 +48,8 @@ void MAKE_INIT_FN(JsonSerializer)(JsonSerializerFactory::Factory* mapping) {
|
|||||||
mapping->bind(schema_name, factory);
|
mapping->bind(schema_name, factory);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
namespace {
|
||||||
|
|
||||||
class format_value_visitor : public boost::static_visitor<std::string> {
|
class format_value_visitor : public boost::static_visitor<std::string> {
|
||||||
public:
|
public:
|
||||||
template <typename T>
|
template <typename T>
|
||||||
@@ -254,6 +256,8 @@ IfcSchema::IfcUnit* get_unit_from_prop(const IfcSchema::IfcProperty* prop) {
|
|||||||
return nullptr;
|
return nullptr;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
} // namespace
|
||||||
|
|
||||||
void POSTFIX_SCHEMA(JsonSerializer)::finalize() {
|
void POSTFIX_SCHEMA(JsonSerializer)::finalize() {
|
||||||
json output;
|
json output;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user