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

Method contains

src/ifcparse/IfcUtil.cpp:86–88  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

84 return list_[i];
85}
86bool aggregate_of_instance::contains(IfcUtil::IfcBaseClass* instance) const {
87 return std::find(list_.begin(), list_.end(), instance) != list_.end();
88}
89void aggregate_of_instance::remove(IfcUtil::IfcBaseClass* instance) {
90 std::vector<IfcUtil::IfcBaseClass*>::iterator iter;
91 while ((iter = std::find(list_.begin(), list_.end(), instance)) != list_.end()) {

Callers 8

get_representationsMethod · 0.45
representation_ofMethod · 0.45
mainFunction · 0.45
process_deletion_Method · 0.45
generate_lineworkMethod · 0.45
createContextMenuMethod · 0.45
addTableListenersMethod · 0.45

Calls 2

beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected