| 33 | } |
| 34 | |
| 35 | void 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 | |
| 40 | ifcopenshell::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()); |
no test coverage detected