18 #ifndef QGSWFSPARAMETERS_H 19 #define QGSWFSPARAMETERS_H 72 const QVariant::Type type = QVariant::String,
73 const QVariant defaultValue = QVariant( "" ) );
182 QString outputFormatAsString()
const;
189 Format outputFormat()
const;
195 QString resultTypeAsString()
const;
208 QStringList propertyNames()
const;
214 QString maxFeatures()
const;
223 int maxFeaturesAsInt()
const;
229 QString startIndex()
const;
238 int startIndexAsInt()
const;
244 QString srsName()
const;
250 QStringList typeNames()
const;
256 QStringList featureIds()
const;
262 QStringList filters()
const;
268 QString bbox()
const;
282 QStringList sortBy()
const;
288 QStringList expFilters()
const;
294 QString geometryNameAsString()
const;
297 bool loadParameter(
const QString &name,
const QString &key )
override;
300 void log(
const QString &msg )
const;
302 QList<QgsProjectVersion> mVersions;
303 QMap<QgsWfsParameter::Name, QgsWfsParameter> mWfsParameters;
A rectangle specified with double values.
QgsRectangle toRectangle() const
Converts the parameter into a rectangle.
WFS parameter received from the client.
int toInt() const
Converts the parameter into an integer.
void raiseError() const
Raises an error in case of an invalid conversion.
A class to describe the version of a project.
Format
Output format for the response.
QStringList toStringListWithExp(const QString &exp="\\(([^()]+)\\)") const
Converts the parameter into a list of string.
QgsWfsParameter::Name mName
QgsServerParameters provides an interface to retrieve and manipulate global parameters received from ...
ResultType
Type of results.
Name
Available parameters for WFS requests.
Provides an interface to retrieve and manipulate WFS parameters received from the client...
static QString name(const QgsWfsParameter::Name)
Converts a parameter's name into its string representation.
Definition of a parameter with basic conversion methods.