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

Method getInputHint

Engine/NodeInputs.cpp:310–321  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

308}
309
310std::string
311Node::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
323void
324Node::setInputLabel(int inputNb, const std::string& label)

Callers 2

makeDocumentationMethod · 0.45
initializeInputsMethod · 0.45

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected