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

Method getText

Engine/source/gui/controls/guiTreeViewCtrl.cpp:362–371  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

360//-----------------------------------------------------------------------------
361
362StringTableEntry GuiTreeViewCtrl::Item::getText()
363{
364 if(mState.test(InspectorData))
365 {
366 Con::errorf("Tried to get the text for item %d, which is InspectorData!", mId);
367 return NULL;
368 }
369
370 return ( mScriptInfo.mText ) ? mScriptInfo.mText : StringTable->EmptyString();
371}
372
373//-----------------------------------------------------------------------------
374

Callers 5

getItemTextMethod · 0.45
findItemByNameMethod · 0.45
getTextToRootMethod · 0.45
onRenameValidateMethod · 0.45

Calls 3

EmptyStringMethod · 0.80
errorfFunction · 0.50
testMethod · 0.45

Tested by

no test coverage detected