| 384 | } |
| 385 | |
| 386 | Object *CompoundParameter::getValidatedParameterValue( const std::string &name ) |
| 387 | { |
| 388 | Parameter *p = parameter<Parameter>( name ); |
| 389 | if( !p ) |
| 390 | { |
| 391 | throw Exception( string("Parameter ") + name + " doesn't exist" ); |
| 392 | } |
| 393 | return p->getValidatedValue(); |
| 394 | } |
| 395 | |
| 396 | bool CompoundParameter::parameterPath( const Parameter *child, std::vector<std::string> &path ) const |
| 397 | { |