QGIS API Documentation  3.16.0-Hannover (43b64b13f3)
qgswfsgetcapabilities.h
Go to the documentation of this file.
1 /***************************************************************************
2  qgswfsgecapabilities.h
3  -------------------------
4  begin : December 20 , 2016
5  copyright : (C) 2007 by Marco Hugentobler (original code)
6  (C) 2012 by RenĂ©-Luc D'Hont (original code)
7  (C) 2014 by Alessandro Pasotti (original code)
8  (C) 2017 by David Marteau
9  email : marco dot hugentobler at karto dot baug dot ethz dot ch
10  a dot pasotti at itopen dot it
11  david dot marteau at 3liz dot com
12  ***************************************************************************/
13 
14 /***************************************************************************
15  * *
16  * This program is free software; you can redistribute it and/or modify *
17  * it under the terms of the GNU General Public License as published by *
18  * the Free Software Foundation; either version 2 of the License, or *
19  * (at your option) any later version. *
20  * *
21  ***************************************************************************/
22 #ifndef QGSWFSGETCAPABILITIES_H
23 #define QGSWFSGETCAPABILITIES_H
24 
25 #include <QDomDocument>
26 
27 namespace QgsWfs
28 {
29 
33  QDomElement getFeatureTypeListElement( QDomDocument &doc, QgsServerInterface *serverIface, const QgsProject *project );
34 
38  QDomElement getParameterElement( QDomDocument &doc, const QString &name, const QStringList &values );
39 
43  QDomElement getOperationsMetadataElement( QDomDocument &doc, const QgsProject *project, const QgsServerRequest &request );
44 
48  QDomElement getServiceProviderElement( QDomDocument &doc, const QgsProject *project );
49 
53  QDomElement getServiceIdentificationElement( QDomDocument &doc, const QgsProject *project );
54 
58  QDomDocument createGetCapabilitiesDocument( QgsServerInterface *serverIface,
59  const QgsProject *project, const QString &version,
60  const QgsServerRequest &request );
61 
65  void writeGetCapabilities( QgsServerInterface *serverIface, const QgsProject *project,
66  const QString &version, const QgsServerRequest &request,
67  QgsServerResponse &response );
68 
69 } // namespace QgsWfs
70 
71 #endif
72 
QgsWfs::getFeatureTypeListElement
QDomElement getFeatureTypeListElement(QDomDocument &doc, QgsServerInterface *serverIface, const QgsProject *project)
Create FeatureTypeList element for get capabilities document.
Definition: qgswfsgetcapabilities.cpp:430
QgsWfs::createGetCapabilitiesDocument
QDomDocument createGetCapabilitiesDocument(QgsServerInterface *serverIface, const QgsProject *project, const QString &version, const QgsServerRequest &request)
Create get capabilities document.
Definition: qgswfsgetcapabilities.cpp:72
QgsServerRequest
QgsServerRequest Class defining request interface passed to services QgsService::executeRequest() met...
Definition: qgsserverrequest.h:39
QgsProject
Encapsulates a QGIS project, including sets of map layers and their styles, layouts,...
Definition: qgsproject.h:95
QgsWfs::getOperationsMetadataElement
QDomElement getOperationsMetadataElement(QDomDocument &doc, const QgsProject *project, const QgsServerRequest &request)
Create OperationsMetadata element for get capabilities document.
Definition: qgswfsgetcapabilities.cpp:347
QgsWfs
WMS implementation.
Definition: qgswfs.cpp:36
QgsWfs::getServiceIdentificationElement
QDomElement getServiceIdentificationElement(QDomDocument &doc, const QgsProject *project)
Create Service Identification element for get capabilities document.
Definition: qgswfsgetcapabilities.cpp:166
QgsWfs::writeGetCapabilities
void writeGetCapabilities(QgsServerInterface *serverIface, const QgsProject *project, const QString &version, const QgsServerRequest &request, QgsServerResponse &response)
Output WFS GetCapabilities response.
Definition: qgswfsgetcapabilities.cpp:38
QgsWfs::getServiceProviderElement
QDomElement getServiceProviderElement(QDomDocument &doc, const QgsProject *project)
Create Service Provider element for get capabilities document.
Definition: qgswfsgetcapabilities.cpp:242
QgsServerInterface
QgsServerInterface Class defining interfaces exposed by QGIS Server and made available to plugins.
Definition: qgsserverinterface.h:61
QgsServerResponse
QgsServerResponse Class defining response interface passed to services QgsService::executeRequest() m...
Definition: qgsserverresponse.h:44
QgsWfs::getParameterElement
QDomElement getParameterElement(QDomDocument &doc, const QString &name, const QStringList &values)
Create a parameter element.
Definition: qgswfsgetcapabilities.cpp:331