| 323 | |
| 324 | |
| 325 | cParseNamedAttrList::constListIter cParseNamedAttrList::Find(const cParseNamedAttr* const pa) |
| 326 | { |
| 327 | ASSERT(pa != 0); |
| 328 | |
| 329 | for (std::list<cParseNamedAttr*>::const_iterator iter = mList.begin(); iter != mList.end(); ++iter) |
| 330 | { |
| 331 | if ((*iter)->GetName() == pa->GetName()) |
| 332 | { |
| 333 | return iter; |
| 334 | } |
| 335 | } |
| 336 | |
| 337 | return mList.end(); |
| 338 | } |
| 339 | |
| 340 | void cParseNamedAttrList::MergeNoOverwrite(const cParseNamedAttrList* const pal) |
| 341 | { |