MCPcopy Create free account
hub / github.com/SuperElastix/elastix / CreateArgumentMap

Method CreateArgumentMap

Testing/itkCommandLineArgumentParser.cxx:60–72  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58 */
59
60void
61CommandLineArgumentParser::CreateArgumentMap()
62{
63 for (IndexType i = 1; i < this->m_Argv.size(); ++i)
64 {
65 if (this->m_Argv[i].substr(0, 1) == "-")
66 {
67 /** All key entries are removed, the latest is stored. */
68 this->m_ArgumentMap.erase(this->m_Argv[i]);
69 this->m_ArgumentMap.insert(EntryType(this->m_Argv[i], i));
70 }
71 }
72} // end CreateArgumentMap()
73
74
75/**

Callers 1

Calls 2

sizeMethod · 0.80
insertMethod · 0.45

Tested by

no test coverage detected