QGIS/python/core/qgsxmlutils.sip
Nyall Dawson 881074b194 Boost coverage of SIP bindings
Now all classes and members are either exposed to bindings or marked
as "not available in Python bindings" in the docs.

Drop test thresholds to 0. Now it should be much easier to determine
what missing members have been added which are causing test
failures.
2016-01-05 11:16:15 +11:00

21 lines
498 B
Plaintext

/**
* Assorted helper methods for reading and writing chunks of XML
*/
class QgsXmlUtils
{
%TypeHeaderCode
#include <qgsxmlutils.h>
%End
public:
/* reading */
static QGis::UnitType readMapUnits( const QDomElement& element );
static QgsRectangle readRectangle( const QDomElement& element );
/* writing */
static QDomElement writeMapUnits( QGis::UnitType units, QDomDocument& doc );
static QDomElement writeRectangle( const QgsRectangle& rect, QDomDocument& doc );
};