----------------------------------------------------------------------------
| 123 | |
| 124 | //---------------------------------------------------------------------------- |
| 125 | bool 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 | //---------------------------------------------------------------------------- |
| 136 | ctkCmdLineModuleParameter ctkCmdLineModuleDescription::parameter(const QString& name) const |