Logo Search packages:      
Sourcecode: lame version File versions  Download package

TiXmlDocument * TiXmlNode::GetDocument (  ) const [inherited]

Return a pointer to the Document this node lives in. Returns null if not in a document.

Definition at line 386 of file tinyxml.cpp.

References TiXmlNode::ToDocument().

Referenced by TiXmlElement::SetAttribute().

      const TiXmlNode* node;

      for( node = this; node; node = node->parent )
            if ( node->ToDocument() )
                  return node->ToDocument();
      return 0;

Here is the call graph for this function:

Here is the caller graph for this function:

Generated by  Doxygen 1.6.0   Back to index