| QGIS API Documentation 3.99.0-Master (f78f5286a64)
    | 
Manages QGIS Server properties for a map layer. More...
#include <qgsmaplayerserverproperties.h>

| Public Member Functions | |
| QgsMapLayerServerProperties (QgsMapLayer *layer=nullptr) | |
| Constructor - Creates a Map Layer QGIS Server Properties. | |
| QString | abstract () const | 
| Returns the abstract of the layerused by QGIS Server in GetCapabilities request. | |
| QString | attribution () const | 
| Returns the attribution of the layer used by QGIS Server in GetCapabilities request. | |
| QString | attributionUrl () const | 
| Returns the attribution URL of the layer used by QGIS Server in GetCapabilities request. | |
| void | copyTo (QgsMapLayerServerProperties *properties) const | 
| Copy properties to another instance. | |
| QString | dataUrl () const | 
| Returns the DataUrl of the layer used by QGIS Server in GetCapabilities request. | |
| QString | dataUrlFormat () const | 
| Returns the DataUrl format of the layer used by QGIS Server in GetCapabilities request. | |
| QString | keywordList () const | 
| Returns the keyword list of the layerused by QGIS Server in GetCapabilities request. | |
| const QgsMapLayer * | layer () const override | 
| Gets the parent layer. | |
| QString | legendUrl () const | 
| Returns the URL for the layer's legend. | |
| QString | legendUrlFormat () const | 
| Returns the format for a URL based layer legend. | |
| bool | operator!= (const QgsMapLayerServerProperties &other) const | 
| bool | operator== (const QgsMapLayerServerProperties &other) const | 
| void | readXml (const QDomNode &layer_node) | 
| Reads server properties from project file. | |
| void | reset () | 
| Reset properties to default. | |
| void | setAbstract (const QString &abstract) | 
| Sets the abstract of the layer used by QGIS Server in GetCapabilities request. | |
| void | setAttribution (const QString &attrib) | 
| Sets the attribution of the layer used by QGIS Server in GetCapabilities request. | |
| void | setAttributionUrl (const QString &url) | 
| Sets the attribution url of the layer used by QGIS Server in GetCapabilities request. | |
| void | setDataUrl (const QString &dataUrl) | 
| Sets the DataUrl of the layer used by QGIS Server in GetCapabilities request. | |
| void | setDataUrlFormat (const QString &dataUrlFormat) | 
| Sets the DataUrl format of the layerused by QGIS Server in GetCapabilities request. | |
| void | setKeywordList (const QString &keywords) | 
| Sets the keywords list of the layerused by QGIS Server in GetCapabilities request. | |
| void | setLegendUrl (const QString &legendUrl) | 
| Sets the URL for the layer's legend. | |
| void | setLegendUrlFormat (const QString &legendUrlFormat) | 
| Sets the format for a URL based layer legend. | |
| void | setShortName (const QString &name) | 
| Sets the short name of the layer used by QGIS Server to identify the layer. | |
| void | setTitle (const QString &title) | 
| Sets the title of the layer used by QGIS Server in GetCapabilities request. | |
| void | setWfsTitle (const QString &title) | 
| Sets the title of the layer used by QGIS Server in WFS GetCapabilities request. | |
| QString | shortName () const | 
| Returns the short name of the layer used by QGIS Server to identify the layer. | |
| QString | title () const | 
| Returns the title of the layer used by QGIS Server in GetCapabilities request. | |
| QString | wfsTitle () const | 
| Returns the optional WFS title if set or the title of the layer used by QGIS WFS in GetCapabilities request. | |
| void | writeXml (QDomNode &layer_node, QDomDocument &document) const | 
| Saves server properties to xml under the layer node. | |
|  Public Member Functions inherited from QgsServerMetadataUrlProperties | |
| virtual | ~QgsServerMetadataUrlProperties ()=default | 
| void | addMetadataUrl (const QgsServerMetadataUrlProperties::MetadataUrl &metaUrl) | 
| Add a metadataUrl for the layer. | |
| QList< QgsServerMetadataUrlProperties::MetadataUrl > | metadataUrls () const | 
| Returns a list of metadataUrl resources associated for the layer. | |
| bool | operator!= (const QgsServerMetadataUrlProperties &other) const | 
| bool | operator== (const QgsServerMetadataUrlProperties &other) const | 
| void | setMetadataUrls (const QList< QgsServerMetadataUrlProperties::MetadataUrl > &metaUrls) | 
| Sets a the list of metadata URL for the layer. | |
|  Public Member Functions inherited from QgsServerWmsDimensionProperties | |
| virtual | ~QgsServerWmsDimensionProperties ()=default | 
| bool | addWmsDimension (const QgsServerWmsDimensionProperties::WmsDimensionInfo &wmsDimInfo) | 
| Adds a QGIS Server WMS Dimension. | |
| bool | operator!= (const QgsServerWmsDimensionProperties &other) const | 
| bool | operator== (const QgsServerWmsDimensionProperties &other) const | 
| bool | removeWmsDimension (const QString &wmsDimName) | 
| Removes a QGIS Server WMS Dimension. | |
| void | setWmsDimensions (const QList< QgsServerWmsDimensionProperties::WmsDimensionInfo > &dimensions) | 
| Set WMS Dimensions. | |
| const QList< QgsServerWmsDimensionProperties::WmsDimensionInfo > | wmsDimensions () const | 
| Returns the QGIS Server WMS Dimension list. | |
| Additional Inherited Members | |
|  Public Types inherited from QgsServerWmsDimensionProperties | |
| enum | PredefinedWmsDimensionName { TIME , DATE , ELEVATION } | 
| Predefined/Restricted WMS Dimension name.  More... | |
|  Static Public Member Functions inherited from QgsServerWmsDimensionProperties | |
| static QMap< int, QString > | wmsDimensionDefaultDisplayLabels () | 
| Returns WMS Dimension default display labels. | |
|  Protected Member Functions inherited from QgsServerMetadataUrlProperties | |
| void | copyTo (QgsServerMetadataUrlProperties *properties) const | 
| Copy properties to another instance. | |
| void | readXml (const QDomNode &layerNode) | 
| Reads server properties from project file. | |
| void | reset () | 
| Reset properties to default. | |
| void | writeXml (QDomNode &layerNode, QDomDocument &document) const | 
| Saves server properties to xml under the layer node. | |
|  Protected Member Functions inherited from QgsServerWmsDimensionProperties | |
| void | copyTo (QgsServerWmsDimensionProperties *properties) const | 
| Copy properties to another instance. | |
| void | readXml (const QDomNode &layer_node) | 
| Reads server properties from project file. | |
| void | reset () | 
| Reset properties to default. | |
| void | writeXml (QDomNode &layer_node, QDomDocument &document) const | 
| Saves server properties to xml under the layer node. | |
Manages QGIS Server properties for a map layer.
Definition at line 286 of file qgsmaplayerserverproperties.h.
| QgsMapLayerServerProperties::QgsMapLayerServerProperties | ( | QgsMapLayer * | layer = nullptr | ) | 
Constructor - Creates a Map Layer QGIS Server Properties.
| layer | The map layer | 
Definition at line 251 of file qgsmaplayerserverproperties.cpp.
| 
 | inline | 
Returns the abstract of the layerused by QGIS Server in GetCapabilities request.
Definition at line 400 of file qgsmaplayerserverproperties.h.
| 
 | inline | 
Returns the attribution of the layer used by QGIS Server in GetCapabilities request.
Attribution indicates the provider of a layer or collection of layers.
Definition at line 484 of file qgsmaplayerserverproperties.h.
| 
 | inline | 
Returns the attribution URL of the layer used by QGIS Server in GetCapabilities request.
Attribution indicates the provider of a layer or collection of layers.
Definition at line 506 of file qgsmaplayerserverproperties.h.
| void QgsMapLayerServerProperties::copyTo | ( | QgsMapLayerServerProperties * | properties | ) | const | 
Copy properties to another instance.
| properties | The properties to copy to | 
Definition at line 256 of file qgsmaplayerserverproperties.cpp.
| 
 | inline | 
Returns the DataUrl of the layer used by QGIS Server in GetCapabilities request.
DataUrl is a a link to the underlying data represented by a particular layer.
Definition at line 440 of file qgsmaplayerserverproperties.h.
| 
 | inline | 
Returns the DataUrl format of the layer used by QGIS Server in GetCapabilities request.
DataUrl is a a link to the underlying data represented by a particular layer.
Definition at line 462 of file qgsmaplayerserverproperties.h.
| 
 | inline | 
Returns the keyword list of the layerused by QGIS Server in GetCapabilities request.
Definition at line 418 of file qgsmaplayerserverproperties.h.
| 
 | inlineoverridevirtual | 
Gets the parent layer.
Implements QgsServerMetadataUrlProperties.
Definition at line 537 of file qgsmaplayerserverproperties.h.
| 
 | inline | 
Returns the URL for the layer's legend.
Definition at line 520 of file qgsmaplayerserverproperties.h.
| 
 | inline | 
Returns the format for a URL based layer legend.
Definition at line 534 of file qgsmaplayerserverproperties.h.
| bool QgsMapLayerServerProperties::operator!= | ( | const QgsMapLayerServerProperties & | other | ) | const | 
Definition at line 289 of file qgsmaplayerserverproperties.cpp.
| bool QgsMapLayerServerProperties::operator== | ( | const QgsMapLayerServerProperties & | other | ) | const | 
Definition at line 273 of file qgsmaplayerserverproperties.cpp.
| void QgsMapLayerServerProperties::readXml | ( | const QDomNode & | layer_node | ) | 
Reads server properties from project file.
Definition at line 300 of file qgsmaplayerserverproperties.cpp.
| void QgsMapLayerServerProperties::reset | ( | ) | 
Reset properties to default.
Definition at line 294 of file qgsmaplayerserverproperties.cpp.
| 
 | inline | 
Sets the abstract of the layer used by QGIS Server in GetCapabilities request.
Definition at line 391 of file qgsmaplayerserverproperties.h.
| 
 | inline | 
Sets the attribution of the layer used by QGIS Server in GetCapabilities request.
Attribution indicates the provider of a layer or collection of layers.
Definition at line 473 of file qgsmaplayerserverproperties.h.
| 
 | inline | 
Sets the attribution url of the layer used by QGIS Server in GetCapabilities request.
Attribution indicates the provider of a layer or collection of layers.
Definition at line 495 of file qgsmaplayerserverproperties.h.
| 
 | inline | 
Sets the DataUrl of the layer used by QGIS Server in GetCapabilities request.
DataUrl is a a link to the underlying data represented by a particular layer.
Definition at line 429 of file qgsmaplayerserverproperties.h.
| 
 | inline | 
Sets the DataUrl format of the layerused by QGIS Server in GetCapabilities request.
DataUrl is a a link to the underlying data represented by a particular layer.
Definition at line 451 of file qgsmaplayerserverproperties.h.
| 
 | inline | 
Sets the keywords list of the layerused by QGIS Server in GetCapabilities request.
Definition at line 409 of file qgsmaplayerserverproperties.h.
| 
 | inline | 
Sets the URL for the layer's legend.
Definition at line 513 of file qgsmaplayerserverproperties.h.
| 
 | inline | 
Sets the format for a URL based layer legend.
Definition at line 527 of file qgsmaplayerserverproperties.h.
| 
 | inline | 
Sets the short name of the layer used by QGIS Server to identify the layer.
Definition at line 336 of file qgsmaplayerserverproperties.h.
| 
 | inline | 
Sets the title of the layer used by QGIS Server in GetCapabilities request.
Definition at line 354 of file qgsmaplayerserverproperties.h.
| 
 | inline | 
Sets the title of the layer used by QGIS Server in WFS GetCapabilities request.
Definition at line 363 of file qgsmaplayerserverproperties.h.
| 
 | inline | 
Returns the short name of the layer used by QGIS Server to identify the layer.
Definition at line 345 of file qgsmaplayerserverproperties.h.
| 
 | inline | 
Returns the title of the layer used by QGIS Server in GetCapabilities request.
Definition at line 372 of file qgsmaplayerserverproperties.h.
| 
 | inline | 
Returns the optional WFS title if set or the title of the layer used by QGIS WFS in GetCapabilities request.
Definition at line 382 of file qgsmaplayerserverproperties.h.
| void QgsMapLayerServerProperties::writeXml | ( | QDomNode & | layer_node, | 
| QDomDocument & | document | ||
| ) | const | 
Saves server properties to xml under the layer node.
Definition at line 381 of file qgsmaplayerserverproperties.cpp.