Add some version

This commit is contained in:
Blottiere Paul 2018-07-10 17:19:31 +01:00
parent 120262e3b8
commit 69c1c3a19e
19 changed files with 41 additions and 24 deletions

View File

@ -18,6 +18,8 @@ class QgsAccessControl : QgsFeatureFilterProvider
%Docstring %Docstring
A helper class that centralize the restrictions given by all the A helper class that centralize the restrictions given by all the
access control filter plugins. access control filter plugins.
.. versionadded:: 2.14
%End %End
%TypeHeaderCode %TypeHeaderCode

View File

@ -12,8 +12,9 @@
class QgsBufferServerRequest : QgsServerRequest class QgsBufferServerRequest : QgsServerRequest
{ {
%Docstring %Docstring
QgsBufferServerRequest
Class defining request with data Class defining request with data
.. versionadded:: 3.0
%End %End
%TypeHeaderCode %TypeHeaderCode

View File

@ -13,6 +13,8 @@ class QgsBufferServerResponse: QgsServerResponse
{ {
%Docstring %Docstring
Class defining buffered response Class defining buffered response
.. versionadded:: 3.0
%End %End
%TypeHeaderCode %TypeHeaderCode

View File

@ -15,6 +15,8 @@ class QgsConfigCache : QObject
{ {
%Docstring %Docstring
Cache for server configuration. Cache for server configuration.
.. versionadded:: 2.8
%End %End
%TypeHeaderCode %TypeHeaderCode

View File

@ -35,6 +35,7 @@ class QgsAccessControlPlugin;
* \class QgsAccessControl * \class QgsAccessControl
* \brief A helper class that centralize the restrictions given by all the * \brief A helper class that centralize the restrictions given by all the
* access control filter plugins. * access control filter plugins.
* \since QGIS 2.14
**/ **/
class SERVER_EXPORT QgsAccessControl : public QgsFeatureFilterProvider class SERVER_EXPORT QgsAccessControl : public QgsFeatureFilterProvider
{ {

View File

@ -28,8 +28,9 @@
/** /**
* \ingroup server * \ingroup server
* QgsBufferServerRequest * \class QgsBufferServerRequest
* Class defining request with data * \brief Class defining request with data
* \since QGIS 3.0
*/ */
class SERVER_EXPORT QgsBufferServerRequest : public QgsServerRequest class SERVER_EXPORT QgsBufferServerRequest : public QgsServerRequest
{ {

View File

@ -30,7 +30,8 @@
/** /**
* \ingroup server * \ingroup server
* \class QgsBufferServerResponse * \class QgsBufferServerResponse
* Class defining buffered response * \brief Class defining buffered response
* \since QGIS 3.0
*/ */
class SERVER_EXPORT QgsBufferServerResponse: public QgsServerResponse class SERVER_EXPORT QgsBufferServerResponse: public QgsServerResponse
{ {

View File

@ -31,8 +31,9 @@
#include "qgsproject.h" #include "qgsproject.h"
/** /**
* Cache for server configuration.
* \ingroup server * \ingroup server
* \brief Cache for server configuration.
* \since QGIS 2.8
*/ */
class SERVER_EXPORT QgsConfigCache : public QObject class SERVER_EXPORT QgsConfigCache : public QObject
{ {

View File

@ -28,8 +28,9 @@
/** /**
* \ingroup server * \ingroup server
* QgsFcgiServerResquest * \class QgsFcgiServerResquest
* Class defining fcgi request * \brief Class defining fcgi request
* \since QGIS 3.0
*/ */
class SERVER_EXPORT QgsFcgiServerRequest: public QgsServerRequest class SERVER_EXPORT QgsFcgiServerRequest: public QgsServerRequest
{ {

View File

@ -29,8 +29,9 @@
/** /**
* \ingroup server * \ingroup server
* QgsFcgiServerResponse * \class QgsFcgiServerResponse
* Class defining fcgi response * \brief Class defining fcgi response
* \since QGIS 3.0
*/ */
class SERVER_EXPORT QgsFcgiServerResponse: public QgsServerResponse class SERVER_EXPORT QgsFcgiServerResponse: public QgsServerResponse
{ {

View File

@ -30,7 +30,8 @@ class QgsAccessControl;
/** /**
* \ingroup server * \ingroup server
* RAII class to restore layer filters on destruction * \brief RAII class to restore layer filters on destruction
* \since QGIS 3.0
*/ */
class SERVER_EXPORT QgsOWSServerFilterRestorer class SERVER_EXPORT QgsOWSServerFilterRestorer
{ {

View File

@ -30,7 +30,6 @@
* \ingroup server * \ingroup server
* \class QgsServerException * \class QgsServerException
* \brief Exception base class for server exceptions. * \brief Exception base class for server exceptions.
*
* \since QGIS 3.0 * \since QGIS 3.0
*/ */
#ifndef SIP_RUN #ifndef SIP_RUN

View File

@ -27,13 +27,12 @@
/** /**
* \ingroup server * \ingroup server
* QgsServerInterface * \class QgsServerInterface
* Class defining interfaces exposed by QGIS Server and * \brief Interfaces exposed by QGIS Server and made available to plugins.
* made available to plugins. * \since QGIS 2.8
*/ */
class QgsServerInterfaceImpl : public QgsServerInterface class QgsServerInterfaceImpl : public QgsServerInterface
{ {
public: public:
//! Constructor //! Constructor

View File

@ -31,6 +31,7 @@
/** /**
* \ingroup server * \ingroup server
* \brief Writes message log into server logfile * \brief Writes message log into server logfile
* \since QGIS 2.8
*/ */
class QgsServerLogger: public QObject class QgsServerLogger: public QObject
{ {

View File

@ -30,6 +30,7 @@ class QgsPythonUtils;
/** /**
* \ingroup server * \ingroup server
* \brief Initializes Python server plugins and stores a list of server plugin names * \brief Initializes Python server plugins and stores a list of server plugin names
* \since QGIS 2.8
*/ */
class SERVER_EXPORT QgsServerPlugins class SERVER_EXPORT QgsServerPlugins
{ {

View File

@ -29,6 +29,7 @@ namespace QgsWcs
* \ingroup server * \ingroup server
* \class QgsserviceException * \class QgsserviceException
* \brief Exception class for WFS service exceptions. * \brief Exception class for WFS service exceptions.
* \since QGIS 3.0
*/ */
class QgsServiceException : public QgsOgcServiceException class QgsServiceException : public QgsOgcServiceException
{ {
@ -52,11 +53,11 @@ namespace QgsWcs
}; };
/** /**
* \ingroup server * \ingroup server
* \class QgsSecurityAccessException * \class QgsSecurityAccessException
* \brief Exception thrown when data access violates access controls * \brief Exception thrown when data access violates access controls
* \since QGIS 3.0
*/ */
class QgsSecurityAccessException: public QgsServiceException class QgsSecurityAccessException: public QgsServiceException
{ {
@ -74,6 +75,7 @@ namespace QgsWcs
* \ingroup server * \ingroup server
* \class QgsRequestNotWellFormedException * \class QgsRequestNotWellFormedException
* \brief Exception thrown in case of malformed request * \brief Exception thrown in case of malformed request
* \since QGIS 3.0
*/ */
class QgsRequestNotWellFormedException: public QgsServiceException class QgsRequestNotWellFormedException: public QgsServiceException
{ {

View File

@ -29,6 +29,7 @@ namespace QgsWfs
* \ingroup server * \ingroup server
* \class QgsserviceException * \class QgsserviceException
* \brief Exception class for WFS service exceptions. * \brief Exception class for WFS service exceptions.
* \since QGIS 3.0
*/ */
class QgsServiceException : public QgsOgcServiceException class QgsServiceException : public QgsOgcServiceException
{ {
@ -52,11 +53,11 @@ namespace QgsWfs
}; };
/** /**
* \ingroup server * \ingroup server
* \class QgsSecurityAccessException * \class QgsSecurityAccessException
* \brief Exception thrown when data access violates access controls * \brief Exception thrown when data access violates access controls
* \since QGIS 3.0
*/ */
class QgsSecurityAccessException: public QgsServiceException class QgsSecurityAccessException: public QgsServiceException
{ {
@ -74,6 +75,7 @@ namespace QgsWfs
* \ingroup server * \ingroup server
* \class QgsRequestNotWellFormedException * \class QgsRequestNotWellFormedException
* \brief Exception thrown in case of malformed request * \brief Exception thrown in case of malformed request
* \since QGIS 3.0
*/ */
class QgsRequestNotWellFormedException: public QgsServiceException class QgsRequestNotWellFormedException: public QgsServiceException
{ {
@ -91,6 +93,7 @@ namespace QgsWfs
* \ingroup server * \ingroup server
* \class QgsBadRequestException * \class QgsBadRequestException
* \brief Exception thrown in case of malformed request * \brief Exception thrown in case of malformed request
* \since QGIS 3.0
*/ */
class QgsBadRequestException: public QgsServiceException class QgsBadRequestException: public QgsServiceException
{ {
@ -103,8 +106,6 @@ namespace QgsWfs
: QgsServiceException( code, message, locator, 400 ) : QgsServiceException( code, message, locator, 400 )
{} {}
}; };
} // namespace QgsWfs } // namespace QgsWfs
#endif #endif

View File

@ -68,15 +68,12 @@ class QgsLayerTreeGroup;
* - getlegendgraphics * - getlegendgraphics
* - getprint * - getprint
*/ */
// These requests share common methods: putting them into a single helper class is
// more practical than spitting everything in a more functional way.
namespace QgsWms namespace QgsWms
{ {
/** /**
* \ingroup server * \ingroup server
* \since QGIS 3.0
*/ */
class QgsRenderer class QgsRenderer
{ {

View File

@ -29,6 +29,7 @@ namespace QgsWms
* \ingroup server * \ingroup server
* \class QgsserviceException * \class QgsserviceException
* \brief Exception class for WMS service exceptions. * \brief Exception class for WMS service exceptions.
* \since QGIS 3.0
* *
* The most important codes are: * The most important codes are:
* * "InvalidFormat" * * "InvalidFormat"
@ -61,6 +62,7 @@ namespace QgsWms
* \ingroup server * \ingroup server
* \class QgsSecurityException * \class QgsSecurityException
* \brief Exception thrown when data access violates access controls * \brief Exception thrown when data access violates access controls
* \since QGIS 3.0
*/ */
class QgsSecurityException: public QgsServiceException class QgsSecurityException: public QgsServiceException
{ {
@ -78,6 +80,7 @@ namespace QgsWms
* \ingroup server * \ingroup server
* \class QgsBadRequestException * \class QgsBadRequestException
* \brief Exception thrown in case of malformed request * \brief Exception thrown in case of malformed request
* \since QGIS 3.0
*/ */
class QgsBadRequestException: public QgsServiceException class QgsBadRequestException: public QgsServiceException
{ {