QGIS API Documentation  2.18.21-Las Palmas (9fba24a)
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 28 of file qgsxmlutils.h.

Member Function Documentation

◆ readMapUnits()

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

Definition at line 23 of file qgsxmlutils.cpp.

◆ readRectangle()

QgsRectangle QgsXmlUtils::readRectangle ( const QDomElement element)
static

Definition at line 52 of file qgsxmlutils.cpp.

◆ writeMapUnits()

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

Definition at line 82 of file qgsxmlutils.cpp.

◆ writeRectangle()

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

Definition at line 110 of file qgsxmlutils.cpp.


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