MCPcopy Create free account
hub / github.com/OGSR/OGSR-Engine / GetDocument

Method GetDocument

ogsr_engine/xrCore/XML_Parser/tinyxml.cpp:452–462  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

450}
451
452const TiXmlDocument* TiXmlNode::GetDocument() const
453{
454 const TiXmlNode* node;
455
456 for (node = this; node; node = node->parent)
457 {
458 if (node->ToDocument())
459 return node->ToDocument();
460 }
461 return 0;
462}
463
464TiXmlElement::TiXmlElement(const char* _value) : TiXmlNode(TiXmlNode::ELEMENT)
465{

Callers 1

LinkEndChildMethod · 0.95

Calls 1

ToDocumentMethod · 0.45

Tested by

no test coverage detected