Logo Search packages:      
Sourcecode: rarian version File versions

TiXmlNode * TiXmlNode::InsertEndChild ( const TiXmlNode addThis  )  [inherited]

Add a new node related to this. Adds a child past the LastChild. Returns a pointer to the new object or NULL if an error occured.

Definition at line 214 of file tinyxml.cpp.

References TiXmlNode::Clone(), and TiXmlNode::LinkEndChild().

      TiXmlNode* node = addThis.Clone();
      if ( !node )
            return 0;

      return LinkEndChild( node );

Generated by  Doxygen 1.6.0   Back to index