MCPcopy Create free account
hub / github.com/Overload-Technologies/Overload / Clear

Method Clear

Dependencies/tinyxml2/include/tinyxml2.h:357–368  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

355 }
356
357 void Clear() {
358 // Delete the blocks.
359 while( !_blockPtrs.Empty()) {
360 Block* lastBlock = _blockPtrs.Pop();
361 delete lastBlock;
362 }
363 _root = 0;
364 _currentAllocs = 0;
365 _nAllocs = 0;
366 _maxAllocs = 0;
367 _nUntracked = 0;
368 }
369
370 virtual int ItemSize() const {
371 return ITEM_SIZE;

Callers

nothing calls this directly

Calls 2

EmptyMethod · 0.80
PopMethod · 0.80

Tested by

no test coverage detected