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

Method Lookup

src/twparser/parserobjects.cpp:369–382  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

367}
368
369const cParseNamedAttr* cParseNamedAttrList::Lookup(const TSTRING& tstrAttrName) const
370{
371 constListIter i;
372
373 for (i = mList.begin(); i != mList.end(); ++i)
374 {
375 if (0 == tstrAttrName.compare((*i)->GetName()))
376 {
377 return (*i);
378 }
379 }
380
381 return (NULL);
382}

Callers 7

InsertVariableMethod · 0.45
LookupVariableMethod · 0.45
CreateFCOSpecsMethod · 0.45
util_GetRecurseDepthFunction · 0.45
FillOutCommonConfigInfoFunction · 0.45

Calls 4

beginMethod · 0.80
endMethod · 0.80
compareMethod · 0.45
GetNameMethod · 0.45

Tested by

no test coverage detected