----------------------------------------------------------------------------
| 134 | |
| 135 | //---------------------------------------------------------------------------- |
| 136 | ctkCmdLineModuleParameter ctkCmdLineModuleDescription::parameter(const QString& name) const |
| 137 | { |
| 138 | foreach(const ctkCmdLineModuleParameterGroup group, d->ParameterGroups) |
| 139 | { |
| 140 | if (group.hasParameter(name)) |
| 141 | { |
| 142 | return group.parameter(name); |
| 143 | } |
| 144 | } |
| 145 | throw ctkInvalidArgumentException(QString("No parameter named \"%1\" available.").arg(name)); |
| 146 | } |
| 147 | |
| 148 | //---------------------------------------------------------------------------- |
| 149 | bool ctkCmdLineModuleDescription::hasReturnParameters() const |