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

Method bind

src/serializers/JsonSerializer.cpp:40–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38}
39
40void JsonSerializerFactory::Factory::bind(const std::string& schema_name, fn f) {
41 const std::string schema_name_lower = boost::to_lower_copy(schema_name);
42 this->insert(std::make_pair(schema_name_lower, f));
43}
44
45JsonSerializer* JsonSerializerFactory::Factory::construct(const std::string& schema_name, IfcParse::IfcFile* file, std::string json_filename, JsonSerializer::Dialect dialect) {
46 const std::string schema_name_lower = boost::to_lower_copy(schema_name);

Callers

nothing calls this directly

Calls 1

insertMethod · 0.45

Tested by

no test coverage detected