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

Method getInputLabel

Engine/Node.cpp:5316–5327  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5314}
5315
5316std::string
5317Node::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
5329std::string
5330Node::getInputHint(int inputNb) const

Callers 7

makeDocumentationMethod · 0.45
initializeInputsMethod · 0.45
redoMethod · 0.45
initLabelMethod · 0.45

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected