QGIS API Documentation  2.8.2-Wien
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Static Public Member Functions | List of all members
QgsXmlUtils Class Reference

Assorted helper methods for reading and writing chunks of XML. More...

#include <qgsxmlutils.h>

Static Public Member Functions

static QGis::UnitType readMapUnits (const QDomElement &element)
static QgsRectangle readRectangle (const QDomElement &element)
static QDomElement writeMapUnits (QGis::UnitType units, QDomDocument &doc)
static QDomElement writeRectangle (const QgsRectangle &rect, QDomDocument &doc)

Detailed Description

Assorted helper methods for reading and writing chunks of XML.

Definition at line 14 of file qgsxmlutils.h.

Member Function Documentation

QGis::UnitType QgsXmlUtils::readMapUnits ( const QDomElement &  element)
static

Definition at line 9 of file qgsxmlutils.cpp.

QgsRectangle QgsXmlUtils::readRectangle ( const QDomElement &  element)
static

Definition at line 38 of file qgsxmlutils.cpp.

QDomElement QgsXmlUtils::writeMapUnits ( QGis::UnitType  units,
QDomDocument &  doc 
)
static

Definition at line 68 of file qgsxmlutils.cpp.

QDomElement QgsXmlUtils::writeRectangle ( const QgsRectangle rect,
QDomDocument &  doc 
)
static

Definition at line 96 of file qgsxmlutils.cpp.


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