Skip to content
Permalink
Browse files

Add doc for QgsWmsParameter

  • Loading branch information
pblottiere committed Jul 20, 2018
1 parent ae685f3 commit edeac1ddfacefda1367924251a1beb9335e1e8e3
Showing with 10 additions and 8 deletions.
  1. +10 −8 src/server/services/wms/qgswmsparameters.h
@@ -235,6 +235,10 @@ namespace QgsWms
*/
QColor toColor() const;

/**
* Raises an error in case of an invalid conversion.
* \throws QgsBadRequestException Invalid parameter exception
*/
void raiseError() const;

/**
@@ -252,6 +256,12 @@ namespace QgsWms
int mId = -1;
};

/**
* \ingroup server
* \class QgsWms::QgsWmsParameters
* \brief Provides an interface to retrieve and manipulate WMS parameters received from the client.
* \since QGIS 3.0
*/
class QgsWmsParameters : public QgsServerParameters
{
Q_GADGET
@@ -274,8 +284,6 @@ namespace QgsWms
* Constructor for WMS parameters with specific values.
* \param parameters Map of parameters where keys are parameters' names.
*/
// QgsWmsParameters( const QgsServerRequest::Parameters &parameters );

QgsWmsParameters( const QgsServerParameters &parameters );

/**
@@ -285,12 +293,6 @@ namespace QgsWms

virtual ~QgsWmsParameters() = default;

/**
* Loads new parameters.
* \param parameters Map of parameters
*/
// void load( const QgsServerRequest::Parameters &parameters );

/**
* Dumps parameters.
*/

0 comments on commit edeac1d

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