| 5314 | } |
| 5315 | |
| 5316 | std::string |
| 5317 | Node::getInputLabel(int inputNb) const |
| 5318 | { |
| 5319 | assert(_imp->inputsInitialized); |
| 5320 | |
| 5321 | QMutexLocker l(&_imp->inputsLabelsMutex); |
| 5322 | if ( (inputNb < 0) || ( inputNb >= (int)_imp->inputLabels.size() ) ) { |
| 5323 | throw std::invalid_argument("Index out of range"); |
| 5324 | } |
| 5325 | |
| 5326 | return _imp->inputLabels[inputNb]; |
| 5327 | } |
| 5328 | |
| 5329 | std::string |
| 5330 | Node::getInputHint(int inputNb) const |
no test coverage detected