MCPcopy Create free account
hub / github.com/avast/retdec / Clear

Method Clear

deps/tinyxml2/include/tinyxml2/tinyxml2.h:354–365  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 2

EmptyMethod · 0.45
PopMethod · 0.45

Tested by

no test coverage detected