MCPcopy Create free account
hub / github.com/JayXon/Leanify / DeleteChildren

Method DeleteChildren

lib/tinyxml2/tinyxml2.cpp:661–671  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

659
660
661void XMLNode::DeleteChildren()
662{
663 while( _firstChild ) {
664 TIXMLASSERT( _firstChild->_document == _document );
665 XMLNode* node = _firstChild;
666 Unlink( node );
667
668 DeleteNode( node );
669 }
670 _firstChild = _lastChild = 0;
671}
672
673
674void XMLNode::Unlink( XMLNode* child )

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected