MCPcopy Create free account
hub / github.com/NatronGitHub/Natron / getInputLabel

Method getInputLabel

Engine/NodeInputs.cpp:297–308  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

295}
296
297std::string
298Node::getInputLabel(int inputNb) const
299{
300 assert(_imp->inputsInitialized);
301
302 QMutexLocker l(&_imp->inputsLabelsMutex);
303 if ( (inputNb < 0) || ( inputNb >= (int)_imp->inputLabels.size() ) ) {
304 throw std::invalid_argument("Index out of range");
305 }
306
307 return _imp->inputLabels[inputNb];
308}
309
310std::string
311Node::getInputHint(int inputNb) const

Callers 1

initializeInputsMethod · 0.45

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected