MCPcopy Create free account
hub / github.com/DFHack/dfhack / GetDocument

Method GetDocument

depends/tinyxml/tinyxml.cpp:512–522  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

510
511
512const TiXmlDocument* TiXmlNode::GetDocument() const
513{
514 const TiXmlNode* node;
515
516 for( node = this; node; node = node->parent )
517 {
518 if ( node->ToDocument() )
519 return node->ToDocument();
520 }
521 return 0;
522}
523
524
525TiXmlElement::TiXmlElement (const char * _value)

Callers 1

LinkEndChildMethod · 0.95

Calls 1

ToDocumentMethod · 0.45

Tested by

no test coverage detected