KPublicTransport
featureutil.cpp
26 const auto it = std::find_if(features.begin(), features.end(), [type](const auto &f) { return f.type() == type; });
33std::vector<Feature> FeatureUtil::merge(const std::vector<Feature> &lhs, const std::vector<Feature> &rhs)
77 if (lhs.availability() == Feature::Unavailable && (rhs.availability() != Feature::Unavailable && rhs.availability() != Feature::Unknown)) {
80 if (rhs.availability() == Feature::Unavailable && (lhs.availability() != Feature::Unavailable && lhs.availability() != Feature::Unknown)) {
An amenity, facility or other relevant property of a vehicle (train, bus, etc), vehicle part (e....
Definition feature.h:20
static Feature merge(const Feature &lhs, const Feature &rhs)
Merge two features referring to the same thing.
Definition feature.cpp:178
static bool isSame(const Feature &lhs, const Feature &rhs)
Returns true if both features refer to the same thing.
Definition feature.cpp:153
std::vector< Feature > features(QStringView coachNumber, QStringView coachClassification)
Determine coach features from a UIC coachNumber and/or coachClassification.
Definition uicrailwaycoach.cpp:190
Query operations and data types for accessing realtime public transport information from online servi...
Definition attribution.cpp:16
int compare(QLatin1StringView s1, const QString &s2, Qt::CaseSensitivity cs)
CaseInsensitive
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:07:52 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:07:52 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.