| 383 | |
| 384 | |
| 385 | int |
| 386 | Node::getInputNumberFromLabel(const std::string& inputLabel) const |
| 387 | { |
| 388 | assert(_imp->inputsInitialized); |
| 389 | QMutexLocker l(&_imp->inputsLabelsMutex); |
| 390 | for (U32 i = 0; i < _imp->inputLabels.size(); ++i) { |
| 391 | if (_imp->inputLabels[i] == inputLabel) { |
| 392 | return i; |
| 393 | } |
| 394 | } |
| 395 | |
| 396 | return -1; |
| 397 | } |
| 398 | |
| 399 | bool |
| 400 | Node::isInputOnlyAlpha(int inputNb) const |
no test coverage detected