MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / getValue

Method getValue

Engine/source/gui/controls/guiTreeViewCtrl.cpp:375–384  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

373//-----------------------------------------------------------------------------
374
375StringTableEntry GuiTreeViewCtrl::Item::getValue()
376{
377 if(mState.test(InspectorData))
378 {
379 Con::errorf("Tried to get the value for item %d, which is InspectorData!", mId);
380 return NULL;
381 }
382
383 return ( mScriptInfo.mValue ) ? mScriptInfo.mValue : StringTable->EmptyString();
384}
385
386//-----------------------------------------------------------------------------
387

Callers 7

getItemValueMethod · 0.45
findItemByValueMethod · 0.45
onVirtualParentExpandMethod · 0.45
onItemSelectedMethod · 0.45
recurseInsertMethod · 0.45
setSelectedPathMethod · 0.45
guiSliderCtrl.cppFile · 0.45

Calls 3

EmptyStringMethod · 0.80
errorfFunction · 0.50
testMethod · 0.45

Tested by

no test coverage detected