Logo Search packages:      
Sourcecode: rarian version File versions

TiXmlNode * TiXmlDocument::Clone (  )  const [protected, virtual]

Create an exact duplicate of this node and return it. The memory must be deleted by the caller.

Implements TiXmlNode.

Definition at line 1192 of file tinyxml.cpp.

References TiXmlDocument().

      TiXmlDocument* clone = new TiXmlDocument();
      if ( !clone )
            return 0;

      CopyTo( clone );
      return clone;

Generated by  Doxygen 1.6.0   Back to index