MCPcopy Create free account
hub / github.com/GarageGames/Torque3D / remove

Method remove

Engine/source/console/simObjectList.cpp:76–86  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

74}
75
76bool SimObjectList::remove(SimObject* obj)
77{
78 iterator ptr = find(begin(),end(),obj);
79 if (ptr != end())
80 {
81 erase(ptr);
82 return true;
83 }
84
85 return false;
86}
87
88bool SimObjectList::removeStable(SimObject* obj)
89{

Callers 10

removeScriptPathExpandoFunction · 0.45
unregisterObjectMethod · 0.45
setIdMethod · 0.45
assignNameMethod · 0.45
removeObjectMethod · 0.45
~SimGroupMethod · 0.45
_removeObjectNoLockMethod · 0.45
popObjectMethod · 0.45
clearMethod · 0.45
shutdownFunction · 0.45

Calls 3

findFunction · 0.85
beginFunction · 0.85
endFunction · 0.85

Tested by

no test coverage detected