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

Method register_schema

src/ifcparse/IfcSchema.cpp:163–165  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

161}
162
163void IfcParse::register_schema(schema_definition* schema) {
164 schemas.insert({boost::to_upper_copy(schema->name()), schema});
165}
166
167const IfcParse::schema_definition* IfcParse::schema_by_name(const std::string& name) {
168 // TODO: initialize automatically somehow

Callers 5

__init__Method · 0.80
validateFunction · 0.80
register_schemaFunction · 0.80
rule_compiler.pyFile · 0.80
load_expressMethod · 0.80

Calls 2

insertMethod · 0.45
nameMethod · 0.45

Tested by

no test coverage detected