MCPcopy Create free account
hub / github.com/KhronosGroup/OpenCOLLADA / numSetArguments

Method numSetArguments

DAEValidator/library/src/ArgumentParser.cpp:271–281  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

269 }
270
271 size_t ArgumentParser::numSetArguments() const
272 {
273 size_t num = 0;
274 for (const auto & arg : mArguments)
275 if (arg.second.isSet())
276 ++num;
277 for (const auto & arg : mNoSwitchArguments)
278 if (arg.isSet())
279 ++num;
280 return num;
281 }
282
283 string ArgumentParser::usage() const
284 {

Callers 1

TEST_METHODFunction · 0.80

Calls 1

isSetMethod · 0.45

Tested by 1

TEST_METHODFunction · 0.64