| 313 | |
| 314 | |
| 315 | int |
| 316 | NodeMetadata::getNComps(int inputNb) const |
| 317 | { |
| 318 | if (inputNb == -1) { |
| 319 | return _imp->outputData.nComps; |
| 320 | } else { |
| 321 | if ( inputNb < (int)_imp->inputsData.size() ) { |
| 322 | return _imp->inputsData[inputNb].nComps; |
| 323 | } else { |
| 324 | return 4; |
| 325 | } |
| 326 | } |
| 327 | } |
| 328 | |
| 329 | void |
| 330 | NodeMetadata::setComponentsType(int inputNb,const std::string& componentsType) |
no test coverage detected