MCPcopy Create free account
hub / github.com/PDAL/PDAL / addConditional

Method addConditional

pdal/Options.cpp:91–96  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

89
90
91void Options::addConditional(const Option& option)
92{
93 assert(Option::nameValid(option.getName(), true));
94 if (m_options.find(option.getName()) == m_options.end())
95 m_options.insert({ option.getName(), option });
96}
97
98
99void Options::addConditional(const Options& other)

Callers 3

addConditionalOptionsMethod · 0.80
handleOptionsMethod · 0.80
stageOptionsMethod · 0.80

Calls 6

nameValidFunction · 0.85
getNameMethod · 0.45
findMethod · 0.45
endMethod · 0.45
insertMethod · 0.45
beginMethod · 0.45

Tested by

no test coverage detected