GDAL

- Main Page
- Related Pages
- Classes
- Files
- Download
- Issue Tracker

- Class List
- Class Hierarchy
- Class Members

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.
CPLXMLNode * | getDocumentElement ()
| 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

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:

- cpl_minixml.h
- cpl_minixml.cpp

Generated for GDAL by 1.8.8.