KPublicTransport
ifoptutil.h
15/** Utility functions for dealing with IFOPT (Identification of Fixed Objects in Public Transport).
Utility functions for dealing with IFOPT (Identification of Fixed Objects in Public Transport).
Definition ifoptutil.h:20
bool isSameStopPlace(QStringView lhs, QStringView rhs)
Checks whether two valid IFOPT ids refer to the same stop place.
Definition ifoptutil.cpp:58
QStringView country(QStringView ifopt)
Returns the country identifier for the given (valid!) IFOPT identifier ifopt.
Definition ifoptutil.cpp:43
QStringView stopPlace(QStringView ifopt)
Returns the stop place identifier for the given (valid!) IFOPT identifier ifopt.
Definition ifoptutil.cpp:48
QString identifierType()
The identifier type for use in Location::identifer for IFOPT ids.
Definition ifoptutil.cpp:83
QStringView merge(QStringView lhs, QStringView rhs)
Merge two IFOPT ids that refer to the same stop place while retaining the maximum level of detail.
Definition ifoptutil.cpp:63
bool isValid(QStringView ifopt)
Check if ifopt is a valid IFOPT identifier.
Definition ifoptutil.cpp:14
QStringView level(QStringView ifopt)
Returns the stop level identifier for the given (valid!) IFOPT identifier ifopt.
Definition ifoptutil.cpp:53
Query operations and data types for accessing realtime public transport information from online servi...
Definition attribution.cpp:16
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:50:52 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:50:52 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.