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

Method getObject

Engine/source/console/simSet.cpp:845–854  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

843
844
845SimObject* SimGroup::getObject(const S32& index)
846{
847 if (index < 0 || index >= size())
848 {
849 Con::errorf("Set::getObject - index out of range.");
850 return NULL;
851 }
852
853 return (*this)[index];
854}
855//-----------------------------------------------------------------------------
856
857SimObject* SimGroupIterator::operator++()

Callers 10

_setPersistentIDMethod · 0.45
processArgumentsMethod · 0.45
resolvePIDsMethod · 0.45
compareFilesMethod · 0.45
removeDirtyMethod · 0.45
findDirtyObjectMethod · 0.45
saveDirtyMethod · 0.45
saveDirtyObjectMethod · 0.45
DefineNewEngineMethodFunction · 0.45

Calls 2

errorfFunction · 0.70
sizeFunction · 0.50

Tested by

no test coverage detected