QGIS API Documentation  3.4.15-Madeira (e83d02e274)
qgswcsgetcapabilities.h
Go to the documentation of this file.
1 /***************************************************************************
2  qgswcsgecapabilities.h
3  -------------------------
4  begin : January 16 , 2017
5  copyright : (C) 2013 by RenĂ©-Luc D'Hont ( parts from qgswcsserver )
6  (C) 2017 by David Marteau
7  email : rldhont at 3liz dot com
8  david dot marteau at 3liz dot com
9  ***************************************************************************/
10 
11 /***************************************************************************
12  * *
13  * This program is free software; you can redistribute it and/or modify *
14  * it under the terms of the GNU General Public License as published by *
15  * the Free Software Foundation; either version 2 of the License, or *
16  * (at your option) any later version. *
17  * *
18  ***************************************************************************/
19 #ifndef QGSWCSGETCAPABILITIES_H
20 #define QGSWCSGETCAPABILITIES_H
21 
22 #include <QDomDocument>
23 
24 namespace QgsWcs
25 {
26 
30  QDomElement getContentMetadataElement( QDomDocument &doc, QgsServerInterface *serverIface, const QgsProject *project );
31 
35  QDomElement getServiceElement( QDomDocument &doc, const QgsProject *project );
36 
40  QDomDocument createGetCapabilitiesDocument( QgsServerInterface *serverIface,
41  const QgsProject *project, const QString &version,
42  const QgsServerRequest &request );
43 
47  void writeGetCapabilities( QgsServerInterface *serverIface, const QgsProject *project,
48  const QString &version, const QgsServerRequest &request,
49  QgsServerResponse &response );
50 
51 } // namespace QgsWcs
52 
53 #endif
54 
QDomDocument createGetCapabilitiesDocument(QgsServerInterface *serverIface, const QgsProject *project, const QString &version, const QgsServerRequest &request)
Create get capabilities document.
Reads and writes project states.
Definition: qgsproject.h:89
QgsServerRequest Class defining request interface passed to services QgsService::executeRequest() met...
QDomElement getServiceElement(QDomDocument &doc, const QgsProject *project)
Create Service element for get capabilities document.
QgsServerInterface Class defining interfaces exposed by QGIS Server and made available to plugins...
QgsServerResponse Class defining response interface passed to services QgsService::executeRequest() m...
QDomElement getContentMetadataElement(QDomDocument &doc, QgsServerInterface *serverIface, const QgsProject *project)
Create ContentMetadata element for get capabilities document.
WCS implementation.
Definition: qgswcs.cpp:29
void writeGetCapabilities(QgsServerInterface *serverIface, const QgsProject *project, const QString &version, const QgsServerRequest &request, QgsServerResponse &response)
Output WCS GetCapabilities response.