18 #ifndef QGSVECTORLAYERSERVERPROPERTIES_H
19 #define QGSVECTORLAYERSERVERPROPERTIES_H
22 #include "qgis_core.h"
54 Q_ENUM( PredefinedWmsDimensionName )
79 const QString &dimFieldName,
80 const QString &dimEndFieldName = QString(),
81 const QString &dimUnits = QString(),
82 const QString &dimUnitSymbol = QString(),
84 const QVariant &dimReferenceValue = QVariant() )
86 , fieldName( dimFieldName )
87 , endFieldName( dimEndFieldName )
89 , unitSymbol( dimUnitSymbol )
90 , defaultDisplayType( dimDefaultDisplayType )
91 , referenceValue( dimReferenceValue )
113 static QMap<int, QString> wmsDimensionDefaultDisplayLabels();
128 bool removeWmsDimension(
const QString &wmsDimName );
134 const QList<QgsVectorLayerServerProperties::WmsDimensionInfo> wmsDimensions()
const;
141 void writeXml( QDomNode &layer_node, QDomDocument &document )
const;
147 void readXml(
const QDomNode &layer_node );
154 QList<QgsVectorLayerServerProperties::WmsDimensionInfo> mWmsDimensions;
157 #endif // QGSVECTORLAYERSERVERPROPERTIES_H