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

Method SeekToArg

src/core/cmdlineparser.cpp:440–449  ·  view source on GitHub ↗

////////////////////////////////////////////////////////////////////////// SeekToArg //////////////////////////////////////////////////////////////////////////

Source from the content-addressed store, hash-verified

438// SeekToArg
439///////////////////////////////////////////////////////////////////////////////
440bool cCmdLineIter::SeekToArg(int argId) const
441{
442 for (SeekBegin(); !Done(); Next())
443 {
444 if (ArgId() == argId)
445 return true;
446 }
447
448 return false;
449}

Callers 6

TestMutExMethod · 0.80
TestDependencyMethod · 0.80
_tmainFunction · 0.80
_tmainFunction · 0.80
_tmainFunction · 0.80
_tmainFunction · 0.80

Calls 1

ArgIdEnum · 0.85

Tested by 2

TestMutExMethod · 0.64
TestDependencyMethod · 0.64