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

Method pushBack

Engine/source/console/simObjectList.cpp:34–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32String SimObjectList::smSortScriptCallbackFn;
33
34bool SimObjectList::pushBack(SimObject* obj)
35{
36 if (T3D::find(begin(),end(),obj) == end())
37 {
38 push_back(obj);
39 return true;
40 }
41
42 return false;
43}
44
45bool SimObjectList::pushBackForce(SimObject* obj)
46{

Callers 2

addObjectMethod · 0.45
_addObjectMethod · 0.45

Calls 3

beginFunction · 0.85
endFunction · 0.85
findFunction · 0.50

Tested by

no test coverage detected