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

Method pop_back

Engine/source/console/arrayObject.cpp:317–326  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

315//-----------------------------------------------------------------------------
316
317void ArrayObject::pop_back()
318{
319 if(mArray.size() <= 0)
320 return;
321
322 mArray.pop_back();
323
324 if( mCurrentIndex >= mArray.size() )
325 mCurrentIndex = mArray.size() - 1;
326}
327
328//-----------------------------------------------------------------------------
329

Callers 15

arrayObject.cppFile · 0.45
readFileMethod · 0.45
killObjectMethod · 0.45
saveObjectMethod · 0.45
popElementMethod · 0.45
popObjectMethod · 0.45
deleteAllObjectsMethod · 0.45
operator++Method · 0.45
clearMethod · 0.45
popFixScopeMethod · 0.45
popFrameMethod · 0.45
dumpClassesFunction · 0.45

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected