MCPcopy Create free account
hub / github.com/IfcOpenShell/IfcOpenShell / JsonSerializer

Method JsonSerializer

src/serializers/JsonSerializer.cpp:54–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52}
53
54JsonSerializer::JsonSerializer(IfcParse::IfcFile* file, const std::string& json_filename, JsonSerializer::Dialect dialect) {
55 if (file) {
56 implementation_ = JsonSerializerFactory::implementations().construct(file->schema()->name(), file, json_filename, dialect);
57 }
58}
59
60JsonSerializerFactory::Factory& JsonSerializerFactory::implementations() {
61 static JsonSerializerFactory::Factory impl;

Callers

nothing calls this directly

Calls 3

constructMethod · 0.45
nameMethod · 0.45
schemaMethod · 0.45

Tested by

no test coverage detected