MCPcopy Create free account
hub / github.com/IfcOpenShell/IfcOpenShell / operator()

Function operator()

src/serializers/schema_dependent/JsonSerializer.cpp:37–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35namespace {
36 struct POSTFIX_SCHEMA(factory_t) {
37 JsonSerializer* operator()(IfcParse::IfcFile* file, const std::string& json_filename, JsonSerializer::Dialect dialect) const {
38 POSTFIX_SCHEMA(JsonSerializer)* s = new POSTFIX_SCHEMA(JsonSerializer)(file, json_filename, dialect);
39 s->setFile(file);
40 return s;
41 }
42 };
43}
44

Callers

nothing calls this directly

Calls 2

POSTFIX_SCHEMAClass · 0.70
setFileMethod · 0.45

Tested by

no test coverage detected