OGR
|
#include <cpl_minixml.h>
Public Member Functions | |
CPLXMLTreeCloser (CPLXMLNode *data) | |
CPLXMLNode * | getDocumentElement () |
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.
|
inlineexplicit |
Constructor
CPLXMLNode * CPLXMLTreeCloser::getDocumentElement | ( | ) |
Returns a pointer to the document (root) element
References CXT_Element, CPLXMLNode::eType, CPLXMLNode::psNext, and CPLXMLNode::pszValue.