GDAL
|
Manage a tree of XML nodes so that all nodes are freed when the instance goes out of scope. More...
#include <cpl_minixml.h>
Public Member Functions | |
CPLXMLTreeCloser (CPLXMLNode *data) | |
Constructor. | |
CPLXMLNode * | getDocumentElement () |
Returns a pointer to the document (root) element. More... | |
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.
CPLXMLNode * CPLXMLTreeCloser::getDocumentElement | ( | ) |
Returns a pointer to the document (root) element.