| 38 | } |
| 39 | |
| 40 | void 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 | |
| 45 | JsonSerializer* 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); |