MCPcopy Create free account
hub / github.com/commontk/CTK / hasParameter

Method hasParameter

Libs/CommandLineModules/Core/ctkCmdLineModuleDescription.cpp:125–133  ·  view source on GitHub ↗

----------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

123
124//----------------------------------------------------------------------------
125bool ctkCmdLineModuleDescription::hasParameter(const QString& name) const
126{
127 // iterate over each parameter group
128 foreach(const ctkCmdLineModuleParameterGroup group, d->ParameterGroups)
129 {
130 if (group.hasParameter(name)) return true;
131 }
132 return false;
133}
134
135//----------------------------------------------------------------------------
136ctkCmdLineModuleParameter ctkCmdLineModuleDescription::parameter(const QString& name) const

Callers 1

foreachFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected