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

Function get_psets

src/examples/IfcParseExamples.cpp:225–228  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

223 if (strcasecmp(schema_name, GENERATE_LITERAL_STRING(elem)) == 0) { get_psets_s<EXPAND_AND_CONCATENATE(elem)>(props, inst->as<EXPAND_AND_CONCATENATE(elem)::IfcObjectDefinition>()); }
224
225void get_psets(element_properties& props, const IfcUtil::IfcBaseClass* inst) {
226 auto schema_name = inst->declaration().schema()->name().c_str();
227 BOOST_PP_SEQ_FOR_EACH(TEST_AND_DISPATCH, , SCHEMA_SEQ)
228}
229
230int main(int argc, char** argv) {
231 if (argc != 2) {

Callers 1

mainFunction · 0.70

Calls 2

nameMethod · 0.45
schemaMethod · 0.45

Tested by

no test coverage detected