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

Method ArgInList

src/core/cmdlineparser.cpp:421–430  ·  view source on GitHub ↗

////////////////////////////////////////////////////////////////////////// ArgInList //////////////////////////////////////////////////////////////////////////

Source from the content-addressed store, hash-verified

419// ArgInList
420///////////////////////////////////////////////////////////////////////////////
421bool cCmdLineParser::ArgInList(int argId)
422{
423 std::list<cArgData>::iterator i;
424 for (i = mArgData.begin(); i != mArgData.end(); i++)
425 {
426 if (i->mId == argId)
427 return true;
428 }
429 return false;
430}
431
432
433//#############################################################################

Callers

nothing calls this directly

Calls 2

beginMethod · 0.80
endMethod · 0.80

Tested by

no test coverage detected