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

Method bind

src/ifcgeom/abstract_mapping.cpp:35–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33}
34
35void ifcopenshell::geometry::impl::MappingFactoryImplementation::bind(const std::string& schema_name, ifcopenshell::geometry::impl::mapping_fn fn) {
36 const std::string schema_name_lower = boost::to_lower_copy(schema_name);
37 this->insert(std::make_pair(schema_name_lower, fn));
38}
39
40ifcopenshell::geometry::abstract_mapping* ifcopenshell::geometry::impl::MappingFactoryImplementation::construct(IfcParse::IfcFile* file, Settings& s) {
41 const std::string schema_name_lower = boost::to_lower_copy(file->schema()->name());

Callers 1

Calls 1

insertMethod · 0.45

Tested by

no test coverage detected