MCPcopy Create free account
hub / github.com/GarageGames/Torque2D / GetDocument

Method GetDocument

engine/source/persistence/tinyXML/tinyxml.cpp:496–506  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

494
495
496const TiXmlDocument* TiXmlNode::GetDocument() const
497{
498 const TiXmlNode* node;
499
500 for( node = this; node; node = node->parent )
501 {
502 if ( node->ToDocument() )
503 return node->ToDocument();
504 }
505 return 0;
506}
507
508
509TiXmlElement::TiXmlElement (const char * _value)

Callers 2

LinkEndChildMethod · 0.95
parseAttributesMethod · 0.45

Calls 1

ToDocumentMethod · 0.45

Tested by

no test coverage detected