| 374 | } |
| 375 | |
| 376 | Object *CompoundParameter::getParameterValue( const std::string &name ) |
| 377 | { |
| 378 | Parameter *p = parameter<Parameter>( name ); |
| 379 | if( !p ) |
| 380 | { |
| 381 | throw Exception( string("Parameter ") + name + " doesn't exist" ); |
| 382 | } |
| 383 | return p->getValue(); |
| 384 | } |
| 385 | |
| 386 | Object *CompoundParameter::getValidatedParameterValue( const std::string &name ) |
| 387 | { |