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

Function all_inverse_attributes

src/ifcparse/IfcSchema.h:375–383  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

373 }
374
375 const std::vector<const inverse_attribute*> all_inverse_attributes() const {
376 std::vector<const inverse_attribute*> attrs;
377 if (supertype_ != nullptr) {
378 const std::vector<const inverse_attribute*> supertype_inv_attrs = supertype_->all_inverse_attributes();
379 std::copy(supertype_inv_attrs.begin(), supertype_inv_attrs.end(), std::back_inserter(attrs));
380 }
381 std::copy(inverse_attributes_.begin(), inverse_attributes_.end(), std::back_inserter(attrs));
382 return attrs;
383 }
384
385 const attribute* attribute_by_index(size_t index) const {
386 const attribute* attr = attribute_by_index_(index);

Callers

nothing calls this directly

Calls 3

copyFunction · 0.85
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected