| 84 | return list_[i]; |
| 85 | } |
| 86 | bool aggregate_of_instance::contains(IfcUtil::IfcBaseClass* instance) const { |
| 87 | return std::find(list_.begin(), list_.end(), instance) != list_.end(); |
| 88 | } |
| 89 | void 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()) { |
no test coverage detected