MCPcopy Create free account
hub / github.com/Tripwire/tripwire-open-source / Find

Method Find

src/twparser/parserobjects.cpp:325–338  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

323
324
325cParseNamedAttrList::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
340void cParseNamedAttrList::MergeNoOverwrite(const cParseNamedAttrList* const pal)
341{

Callers

nothing calls this directly

Calls 3

beginMethod · 0.80
endMethod · 0.80
GetNameMethod · 0.45

Tested by

no test coverage detected