Skip to content
Permalink
Browse files

Update doc for QgsConfigParserUtils

  • Loading branch information
pblottiere committed Jul 10, 2018
1 parent a698dc2 commit d31d86d632c340a8a8a109145eab967a1844d70a
Showing with 26 additions and 2 deletions.
  1. +26 −2 src/server/qgsconfigparserutils.h
@@ -33,21 +33,45 @@ class QString;
class QgsConfigParserUtils
{
public:

/**
* Appends a CRS XML element in the layer document.
*/
static void appendCrsElementsToLayer( QDomElement &layerElement, QDomDocument &doc, const QStringList &crsList,
const QStringList &constrainedCrsList );

/**
* Appends a CRS XML element in the layer document.
*/
static void appendCrsElementToLayer( QDomElement &layerElement, const QDomElement &precedingElement,
const QString &crsText, QDomDocument &doc );

/**
* Appends a BBOX XML element in the layer document.
*/
static void appendLayerBoundingBoxes( QDomElement &layerElem, QDomDocument &doc, const QgsRectangle &layerExtent,
const QgsCoordinateReferenceSystem &layerCRS, const QStringList &crsList,
const QStringList &constrainedCrsList );

/**
* Appends a BBOX XML element in the layer document.
*/
static void appendLayerBoundingBox( QDomElement &layerElem, QDomDocument &doc, const QgsRectangle &layerExtent,
const QgsCoordinateReferenceSystem &layerCRS, const QString &crsText );
//! Returns a list of supported EPSG coordinate system numbers from a layer

/**
* Returns a list of supported EPSG coordinate system numbers from a layer
*/
static QStringList createCrsListForLayer( QgsMapLayer *mapLayer );

//! Returns default service capabilities from wms_metadata.xml if nothing else is defined
/**
* Returns default service capabilities from wms_metadata.xml if nothing else is defined
*/
static void fallbackServiceCapabilities( QDomElement &parentElement, QDomDocument &doc );

/**
* Returns a list of layer from a map of layer.
*/
static QList<QgsMapLayer *> layerMapToList( const QMap< int, QgsMapLayer * > &layerMap, bool reverseOrder = false );
};

0 comments on commit d31d86d

Please sign in to comment.
You can’t perform that action at this time.