HydroCoupleOgc  0.1.0
OGC web service clients (WMS, WMTS, WCS, WFS) over Qt Network (0.1.0)
Loading...
Searching...
No Matches
servicediscovery.h
Go to the documentation of this file.
1// SPDX-License-Identifier: LGPL-3.0-or-later
2// Copyright (C) 2026 HydroCouple
3
15
16#ifndef HYDROCOUPLEOGC_SERVICEDISCOVERY_H
17#define HYDROCOUPLEOGC_SERVICEDISCOVERY_H
18
20
21#include <QByteArray>
22#include <QString>
23
24namespace HydroCouple::Ogc
25{
29 enum class ServiceKind
30 {
36 };
37
53 [[nodiscard]] HYDROCOUPLEOGC_EXPORT QString buildCapabilitiesUrl(
54 const QString &serviceUrl, ServiceKind kind);
55
71 const QByteArray &xml);
72
73} // namespace HydroCouple::Ogc
74
75#endif // HYDROCOUPLEOGC_SERVICEDISCOVERY_H
Symbol visibility for the shared library.
#define HYDROCOUPLEOGC_EXPORT
Definition export.h:20
Definition axisorder.h:30
ServiceKind
The kinds of service this library speaks.
Definition servicediscovery.h:30
@ Wfs
Definition servicediscovery.h:34
@ Wms
Definition servicediscovery.h:32
@ Unknown
Definition servicediscovery.h:31
@ Wmts
Definition servicediscovery.h:33
@ Wcs
Definition servicediscovery.h:35
HYDROCOUPLEOGC_EXPORT QString buildCapabilitiesUrl(const QString &serviceUrl, ServiceKind kind)
Where to ask serviceUrl what it can do.
Definition servicediscovery.cpp:12
HYDROCOUPLEOGC_EXPORT ServiceKind detectServiceKind(const QByteArray &xml)
What kind of service answered.
Definition servicediscovery.cpp:84