18 #ifndef QGSWFSPARAMETERS_H 19 #define QGSWFSPARAMETERS_H 69 const QVariant::Type type = QVariant::String,
70 const QVariant defaultValue = QVariant(
"" ) );
179 QString outputFormatAsString()
const;
186 Format outputFormat()
const;
192 QString resultTypeAsString()
const;
205 QStringList propertyNames()
const;
211 QString maxFeatures()
const;
220 int maxFeaturesAsInt()
const;
226 QString startIndex()
const;
235 int startIndexAsInt()
const;
241 QString srsName()
const;
247 QStringList typeNames()
const;
253 QStringList featureIds()
const;
259 QStringList filters()
const;
265 QString bbox()
const;
279 QStringList sortBy()
const;
285 QStringList expFilters()
const;
291 QString geometryNameAsString()
const;
294 bool loadParameter(
const QString &
name,
const QString &key )
override;
297 void log(
const QString &msg )
const;
299 QList<QgsProjectVersion> mVersions;
300 QMap<QgsWfsParameter::Name, QgsWfsParameter> mWfsParameters;
A rectangle specified with double values.
int toInt() const
Converts the parameter into an integer.
WFS parameter received from the client.
QgsWfsParameter(const QgsWfsParameter::Name name=QgsWfsParameter::UNKNOWN, const QVariant::Type type=QVariant::String, const QVariant defaultValue=QVariant(""))
Constructor for QgsWfsParameter.
A class to describe the version of a project.
void raiseError() const
Raises an error in case of an invalid conversion.
Format
Output format for the response.
QgsWfsParameter::Name mName
QgsRectangle toRectangle() const
Converts the parameter into a rectangle.
QgsServerParameters provides an interface to retrieve and manipulate global parameters received from ...
ResultType
Type of results.
Name
Available parameters for WFS requests.
QStringList toStringListWithExp(const QString &exp="\([^()]+)\") const
Converts the parameter into a list of string.
Provides an interface to retrieve and manipulate WFS parameters received from the client...
virtual ~QgsWfsParameter()=default
Default destructor for QgsWfsParameter.
static QString name(const QgsWfsParameter::Name)
Converts a parameter's name into its string representation.
Definition of a parameter with basic conversion methods.