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

Method bind

src/serializers/XmlSerializer.cpp:19–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17}
18
19void XmlSerializerFactory::Factory::bind(const std::string& schema_name, fn f) {
20 const std::string schema_name_lower = boost::to_lower_copy(schema_name);
21 this->insert(std::make_pair(schema_name_lower, f));
22}
23
24XmlSerializer* XmlSerializerFactory::Factory::construct(const std::string& schema_name, IfcParse::IfcFile* file, std::string xml_filename) {
25 const std::string schema_name_lower = boost::to_lower_copy(schema_name);

Callers 2

Calls 1

insertMethod · 0.45

Tested by

no test coverage detected