| 308 | } |
| 309 | |
| 310 | std::string |
| 311 | Node::getInputHint(int inputNb) const |
| 312 | { |
| 313 | assert(_imp->inputsInitialized); |
| 314 | |
| 315 | QMutexLocker l(&_imp->inputsLabelsMutex); |
| 316 | if ( (inputNb < 0) || ( inputNb >= (int)_imp->inputHints.size() ) ) { |
| 317 | throw std::invalid_argument("Index out of range"); |
| 318 | } |
| 319 | |
| 320 | return _imp->inputHints[inputNb]; |
| 321 | } |
| 322 | |
| 323 | void |
| 324 | Node::setInputLabel(int inputNb, const std::string& label) |
no test coverage detected