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

Method AddMutEx

src/core/cmdlineparser.cpp:335–341  ·  view source on GitHub ↗

////////////////////////////////////////////////////////////////////////// AddMutEx //////////////////////////////////////////////////////////////////////////

Source from the content-addressed store, hash-verified

333// AddMutEx
334///////////////////////////////////////////////////////////////////////////////
335void cCmdLineParser::AddMutEx(int argId1, int argId2)
336{
337 // note that I do no checking for duplicates here...
338 std::pair<int, int> mutEx(argId1, argId2);
339 ASSERT(argId1 != argId2);
340 mMutExList.push_back(mutEx);
341}
342
343///////////////////////////////////////////////////////////////////////////////
344// AddDependency

Callers 6

InitCmdLineCommonMethod · 0.80
InitCmdLineParserMethod · 0.80
InitCmdLineCommonFunction · 0.80
InitCmdLineCommonFunction · 0.80
InitCmdLineParserMethod · 0.80
TestCmdLineParserFunction · 0.80

Calls

no outgoing calls

Tested by 1

TestCmdLineParserFunction · 0.64