MCPcopy Create free account
hub / github.com/axmolengine/axmol / popBack

Method popBack

core/base/Vector.h:334–340  ·  view source on GitHub ↗

Removes the last element in the Vector. */

Source from the content-addressed store, hash-verified

332
333 /** Removes the last element in the Vector. */
334 void popBack()
335 {
336 AXASSERT(!_data.empty(), "no objects added");
337 auto last = _data.back();
338 _data.pop_back();
339 last->release();
340 }
341
342 /** Remove a certain object in Vector.
343 * @param object The object to be removed.

Callers 7

popSceneMethod · 0.80
popToSceneStackLevelMethod · 0.80
resetMethod · 0.80
VectorTests.cppFile · 0.80
getObjectMethod · 0.80
createImageMethod · 0.80
reconstructNestNodeMethod · 0.80

Calls 4

emptyMethod · 0.45
backMethod · 0.45
pop_backMethod · 0.45
releaseMethod · 0.45

Tested by

no test coverage detected