| 141 | return accum; |
| 142 | } |
| 143 | bool contains(IfcUtil::IfcBaseClass* instance) const { |
| 144 | for (outer_it it = begin(); it != end(); ++it) { |
| 145 | const std::vector<IfcUtil::IfcBaseClass*>& inner = *it; |
| 146 | if (std::find(inner.begin(), inner.end(), instance) != inner.end()) { |
| 147 | return true; |
| 148 | } |
| 149 | } |
| 150 | return false; |
| 151 | } |
| 152 | |
| 153 | template <class U> |
| 154 | typename aggregate_of_aggregate_of<U>::ptr as(); |