KItinerary
tickettokencomparator.cpp
19[[nodiscard]] static bool prefixConflictIfPresent(const QString &lhs, const QString &rhs, Qt::CaseSensitivity caseSensitive = Qt::CaseSensitive)
21 return !lhs.isEmpty() && !rhs.isEmpty() && !lhs.startsWith(rhs, caseSensitive) && !rhs.startsWith(lhs, caseSensitive);
57 return lhsUic.header() == rhsUic.header() && isUicBlockSubset(lhsUic, rhsUic) && isUicBlockSubset(rhsUic, lhsUic);
62 // Flixbus ticket tokens are URLs with varying host and query parts, while the path contains the actual token
bool isNull() const
Checks if the block is valid or empty/default constructed.
Definition uic9183block.cpp:91
Parser for UIC 918.3 and 918.3* train tickets.
Definition uic9183parser.h:38
Uic9183Block findBlock(const char name[6]) const
Returns the first block with the given name.
Definition uic9183parser.cpp:57
static bool maybeUic9183(const QByteArray &data)
Quickly checks if might be UIC 918.3 content.
Definition uic9183parser.cpp:697
Uic9183Header header() const
Header found before the compressed payload.
Definition uic9183parser.cpp:687
Classes for reservation/travel data models, data extraction and data augmentation.
Definition berelement.h:17
bool isEmpty() const const
bool startsWith(QByteArrayView bv) const const
QString
bool isEmpty() const const
bool startsWith(QChar c, Qt::CaseSensitivity cs) const const
CaseSensitivity
bool isNull() const const
QByteArray toByteArray() const const
QString toString() const const
int userType() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:28:48 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:28:48 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.