| 326 | } |
| 327 | |
| 328 | void |
| 329 | NodeMetadata::setComponentsType(int inputNb,const std::string& componentsType) |
| 330 | { |
| 331 | if (inputNb == -1) { |
| 332 | _imp->outputData.componentsType = componentsType; |
| 333 | } else { |
| 334 | if ( inputNb < (int)_imp->inputsData.size() ) { |
| 335 | _imp->inputsData[inputNb].componentsType = componentsType; |
| 336 | } |
| 337 | } |
| 338 | } |
| 339 | |
| 340 | std::string |
| 341 | NodeMetadata::getComponentsType(int inputNb) const |
no test coverage detected