Skip to content

Commit d31d86d

Browse files
committedJul 13, 2018
Update doc for QgsConfigParserUtils
1 parent a698dc2 commit d31d86d

File tree

1 file changed

+26
-2
lines changed

1 file changed

+26
-2
lines changed
 

‎src/server/qgsconfigparserutils.h

Lines changed: 26 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,21 +33,45 @@ class QString;
3333
class QgsConfigParserUtils
3434
{
3535
public:
36+
37+
/**
38+
* Appends a CRS XML element in the layer document.
39+
*/
3640
static void appendCrsElementsToLayer( QDomElement &layerElement, QDomDocument &doc, const QStringList &crsList,
3741
const QStringList &constrainedCrsList );
42+
43+
/**
44+
* Appends a CRS XML element in the layer document.
45+
*/
3846
static void appendCrsElementToLayer( QDomElement &layerElement, const QDomElement &precedingElement,
3947
const QString &crsText, QDomDocument &doc );
48+
49+
/**
50+
* Appends a BBOX XML element in the layer document.
51+
*/
4052
static void appendLayerBoundingBoxes( QDomElement &layerElem, QDomDocument &doc, const QgsRectangle &layerExtent,
4153
const QgsCoordinateReferenceSystem &layerCRS, const QStringList &crsList,
4254
const QStringList &constrainedCrsList );
55+
56+
/**
57+
* Appends a BBOX XML element in the layer document.
58+
*/
4359
static void appendLayerBoundingBox( QDomElement &layerElem, QDomDocument &doc, const QgsRectangle &layerExtent,
4460
const QgsCoordinateReferenceSystem &layerCRS, const QString &crsText );
45-
//! Returns a list of supported EPSG coordinate system numbers from a layer
61+
62+
/**
63+
* Returns a list of supported EPSG coordinate system numbers from a layer
64+
*/
4665
static QStringList createCrsListForLayer( QgsMapLayer *mapLayer );
4766

48-
//! Returns default service capabilities from wms_metadata.xml if nothing else is defined
67+
/**
68+
* Returns default service capabilities from wms_metadata.xml if nothing else is defined
69+
*/
4970
static void fallbackServiceCapabilities( QDomElement &parentElement, QDomDocument &doc );
5071

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

0 commit comments

Comments
 (0)
Please sign in to comment.