Skip to content

Commit 5c11f41

Browse files
committedJul 13, 2018
Add doc for some parameters/constructor
1 parent 721e309 commit 5c11f41

File tree

4 files changed

+19
-15
lines changed

4 files changed

+19
-15
lines changed
 

‎src/server/services/wcs/qgswcs.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@ namespace QgsWcs
4040
public:
4141

4242
/**
43-
* Constructor.
43+
* Constructor for WCS service.
44+
* \param serverIface Interface for plugins.
4445
*/
4546
Service( QgsServerInterface *serverIface )
4647
: mServerIface( serverIface )

‎src/server/services/wfs/qgswfs.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,8 @@ namespace QgsWfs
4646
public:
4747

4848
/**
49-
* Constructor.
49+
* Constructor for WFS service.
50+
* \param serverIface Interface for plugin.
5051
*/
5152
Service( QgsServerInterface *serverIface )
5253
: mServerIface( serverIface )

‎src/server/services/wfs/qgswfsparameters.h

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -86,19 +86,19 @@ namespace QgsWfs
8686
};
8787

8888
/**
89-
* Constructor.
90-
* \param map of parameters where keys are parameters' names.
89+
* Constructor for WFS parameters with specific values.
90+
* \param parameters Map of parameters where keys are parameters' names.
9191
*/
9292
QgsWfsParameters( const QgsServerRequest::Parameters &parameters );
9393

9494
/**
95-
* Constructor.
95+
* Constructor for WFS parameters with default values only.
9696
*/
9797
QgsWfsParameters();
9898

9999
/**
100100
* Loads new parameters.
101-
* \param map of parameters
101+
* \param parameters Map of parameters
102102
*/
103103
void load( const QgsServerRequest::Parameters &parameters );
104104

@@ -109,14 +109,14 @@ namespace QgsWfs
109109

110110
/**
111111
* Returns REQUEST parameter as a string or an empty string if not
112-
* defined.
112+
* defined.
113113
* \returns request
114114
*/
115115
QString request() const;
116116

117117
/**
118118
* Returns VERSION parameter as a string or an empty string if not
119-
* defined.
119+
* defined.
120120
* \returns version
121121
*/
122122
QString version() const;
@@ -135,7 +135,7 @@ namespace QgsWfs
135135

136136
/**
137137
* Returns format. If the OUTPUTFORMAT parameter is not used, then the
138-
* default value is GML2 or GML3.
138+
* default value is GML2 or GML3.
139139
* \returns format
140140
*/
141141
Format outputFormat() const;
@@ -148,7 +148,7 @@ namespace QgsWfs
148148

149149
/**
150150
* Returns resultType. If the RESULTTYPE parameter is not used, then the
151-
* default value is RESULTS.
151+
* default value is RESULTS.
152152
* \returns resultType
153153
*/
154154
ResultType resultType() const;
@@ -167,7 +167,7 @@ namespace QgsWfs
167167

168168
/**
169169
* Returns MAXFEATURES parameter as an int or its default value if not
170-
* defined. An exception is raised if I is defined and cannot be
170+
* defined. An exception is raised if I is defined and cannot be
171171
* converted.
172172
* \returns maxFeatures parameter
173173
* \throws QgsBadRequestException
@@ -182,8 +182,8 @@ namespace QgsWfs
182182

183183
/**
184184
* Returns STARTINDEX parameter as an int or its default value if not
185-
* defined. An exception is raised if I is defined and cannot be
186-
* converted.
185+
* defined. An exception is raised if I is defined and cannot be
186+
* converted.
187187
* \returns startIndex parameter
188188
* \throws QgsBadRequestException
189189
*/
@@ -221,7 +221,7 @@ namespace QgsWfs
221221

222222
/**
223223
* Returns BBOX as a rectangle if defined and valid. An exception is
224-
* raised if the BBOX string cannot be converted into a rectangle.
224+
* raised if the BBOX string cannot be converted into a rectangle.
225225
* \returns bbox as rectangle
226226
* \throws QgsBadRequestException
227227
*/

‎src/server/services/wms/qgswms.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,9 @@ namespace QgsWms
4949
public:
5050

5151
/**
52-
* Constructor.
52+
* Constructor for WMS service.
53+
* \param version Version of the WMS service.
54+
* \param serverIface Interface for plugins.
5355
*/
5456
Service( const QString &version, QgsServerInterface *serverIface )
5557
: mVersion( version )

0 commit comments

Comments
 (0)
Please sign in to comment.