MCPcopy Create free account
hub / github.com/MaxBelkov/visualsyslog / ~XMLDocument

Method ~XMLDocument

sourcecommon/tinyxml2.cpp:1624–1644  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1622
1623
1624XMLDocument::~XMLDocument()
1625{
1626 DeleteChildren();
1627 delete [] _charBuffer;
1628
1629#if 0
1630 _textPool.Trace( "text" );
1631 _elementPool.Trace( "element" );
1632 _commentPool.Trace( "comment" );
1633 _attributePool.Trace( "attribute" );
1634#endif
1635
1636#ifdef DEBUG
1637 if ( Error() == false ) {
1638 TIXMLASSERT( _elementPool.CurrentAllocs() == _elementPool.Untracked() );
1639 TIXMLASSERT( _attributePool.CurrentAllocs() == _attributePool.Untracked() );
1640 TIXMLASSERT( _textPool.CurrentAllocs() == _textPool.Untracked() );
1641 TIXMLASSERT( _commentPool.CurrentAllocs() == _commentPool.Untracked() );
1642 }
1643#endif
1644}
1645
1646
1647void XMLDocument::Clear()

Callers

nothing calls this directly

Calls 4

ErrorFunction · 0.85
TraceMethod · 0.80
CurrentAllocsMethod · 0.80
UntrackedMethod · 0.80

Tested by

no test coverage detected