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

Method populate_derived

src/ifcparse/IfcUtil.cpp:209–218  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

207{}
208
209void IfcUtil::IfcBaseEntity::populate_derived() {
210 for (auto it = declaration().as_entity()->derived().begin(); it != declaration().as_entity()->derived().end(); ++it) {
211 if (*it) {
212 set_attribute_value(
213 std::distance(declaration().as_entity()->derived().begin(), it),
214 Derived{}
215 );
216 }
217 }
218}
219
220AttributeValue IfcUtil::IfcBaseEntity::get(const std::string& name) const
221{

Callers

nothing calls this directly

Calls 5

set_attribute_valueFunction · 0.85
derivedMethod · 0.80
declarationClass · 0.70
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected