GDAL
Public Member Functions | List of all members
CPLXMLTreeCloser Class Reference

Manage a tree of XML nodes so that all nodes are freed when the instance goes out of scope. More...

#include <cpl_minixml.h>

Inheritance diagram for CPLXMLTreeCloser:

Public Member Functions

 CPLXMLTreeCloser (CPLXMLNode *data)
 Constructor.
 
CPLXMLNodegetDocumentElement ()
 Returns a pointer to the document (root) element. More...
 

Detailed Description

Manage a tree of XML nodes so that all nodes are freed when the instance goes out of scope.

Only the top level node should be in a CPLXMLTreeCloser.

Member Function Documentation

◆ getDocumentElement()

CPLXMLNode * CPLXMLTreeCloser::getDocumentElement ( )

Returns a pointer to the document (root) element.

Returns
the node pointer

The documentation for this class was generated from the following files: