QGIS API Documentation  3.14.0-Pi (9f7028fd23)
qgswmsgetstyles.h
Go to the documentation of this file.
1 /***************************************************************************
2  qgswmsgetstyles.h
3  -------------------------
4  begin : December 20 , 2016
5  copyright : (C) 2007 by Marco Hugentobler (original code)
6  (C) 2014 by Alessandro Pasotti (original code)
7  (C) 2016 by David Marteau
8  email : marco dot hugentobler at karto dot baug dot ethz dot ch
9  a dot pasotti at itopen dot it
10  david dot marteau at 3liz dot com
11  ***************************************************************************/
12 
13 /***************************************************************************
14  * *
15  * This program is free software; you can redistribute it and/or modify *
16  * it under the terms of the GNU General Public License as published by *
17  * the Free Software Foundation; either version 2 of the License, or *
18  * (at your option) any later version. *
19  * *
20  ***************************************************************************/
21 
22 namespace QgsWms
23 {
24 
28  void writeGetStyles( QgsServerInterface *serverIface, const QgsProject *project, const QString &version,
29  const QgsServerRequest &request, QgsServerResponse &response );
30 
31 
35  QDomDocument getStyles( QgsServerInterface *serverIface, const QgsProject *project, const QString &version,
36  const QgsServerRequest &request );
37 
38  //GetStyle for compatibility with earlier QGIS versions
39 
43  void writeGetStyle( QgsServerInterface *serverIface, const QgsProject *project, const QString &version,
44  const QgsServerRequest &request, QgsServerResponse &response );
45 
49  QDomDocument getStyle( QgsServerInterface *serverIface, const QgsProject *project, const QString &version,
50  const QgsServerRequest &request );
51 
52 
53 
54 } // namespace QgsWms
55 
56 
57 
58 
QgsWms::getStyle
QDomDocument getStyle(QgsServerInterface *serverIface, const QgsProject *project, const QString &version, const QgsServerRequest &request)
Returns an SLD file with the style of the requested layer.
Definition: qgswmsgetstyles.cpp:103
QgsServerRequest
Definition: qgsserverrequest.h:38
QgsProject
Definition: qgsproject.h:92
QgsWms::writeGetStyle
void writeGetStyle(QgsServerInterface *serverIface, const QgsProject *project, const QString &version, const QgsServerRequest &request, QgsServerResponse &response)
Output GetStyle response.
Definition: qgswmsgetstyles.cpp:95
QgsWms::getStyles
QDomDocument getStyles(QgsServerInterface *serverIface, const QgsProject *project, const QString &version, const QgsServerRequest &request)
Returns an SLD file with the styles of the requested layers.
Definition: qgswmsgetstyles.cpp:69
QgsWms
WMS implementation.
Definition: qgsdxfwriter.cpp:22
QgsWms::writeGetStyles
void writeGetStyles(QgsServerInterface *serverIface, const QgsProject *project, const QString &version, const QgsServerRequest &request, QgsServerResponse &response)
Output GetStyles response.
Definition: qgswmsgetstyles.cpp:61
QgsServerInterface
Definition: qgsserverinterface.h:60
QgsServerResponse
Definition: qgsserverresponse.h:43