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

Method remove

src/ifcparse/IfcUtil.cpp:89–94  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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()) {
92 list_.erase(iter);
93 }
94}
95
96aggregate_of_instance::ptr aggregate_of_instance::filtered(const std::set<const IfcParse::declaration*>& entities) {
97 aggregate_of_instance::ptr return_value(new aggregate_of_instance);

Callers 15

build-all.pyFile · 0.45
compile_python_wrapperFunction · 0.45
tests.pyFile · 0.45
main.jsFile · 0.45
upload_completionFunction · 0.45
unregisterFunction · 0.45
test_saving_to_xmlMethod · 0.45
remove_type_refFunction · 0.45
process_deletion_Method · 0.45
patchMethod · 0.45
mergeMethod · 0.45

Calls 3

beginMethod · 0.45
endMethod · 0.45
eraseMethod · 0.45