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

Method isMethod

Engine/source/console/simObject.cpp:857–872  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

855//-----------------------------------------------------------------------------
856
857bool SimObject::isMethod( const char* methodName )
858{
859 if( !methodName || !methodName[0] )
860 return false;
861
862 if (CInterface::isMethod(this->getName(), methodName) || CInterface::isMethod(this->getClassName(), methodName)) {
863 return true;
864 }
865
866 StringTableEntry stname = StringTable->insert( methodName );
867
868 if( getNamespace() )
869 return ( getNamespace()->lookup( stname ) != NULL );
870
871 return false;
872}
873
874//-----------------------------------------------------------------------------
875

Callers 15

readObjectsFunction · 0.45
cast_spellMethod · 0.45
readObjectsFunction · 0.45
simObject.cppFile · 0.45
callOnChildrenMethod · 0.45
loadModuleGroupMethod · 0.45
unloadModuleGroupMethod · 0.45
loadModuleExplicitMethod · 0.45
unloadModuleExplicitMethod · 0.45

Calls 4

getNameMethod · 0.95
getClassNameMethod · 0.45
insertMethod · 0.45
lookupMethod · 0.45

Tested by 2

constructEditControlMethod · 0.36
addInspectObjectMethod · 0.36