KItinerary
vendor0080block.cpp
146 return QDate::fromString(Uic9183Utils::readUtf8String(m_block, m_offset + 22, 8), QStringLiteral("ddMMyyyy"));
148 return QDate::fromString(Uic9183Utils::readUtf8String(m_block, m_offset, 8), QStringLiteral("ddMMyyyy"));
157 return QDate::fromString(Uic9183Utils::readUtf8String(m_block, m_offset + 22 + 8, 8), QStringLiteral("ddMMyyyy"));
159 return QDate::fromString(Uic9183Utils::readUtf8String(m_block, m_offset + 8, 8), QStringLiteral("ddMMyyyy"));
267 return m_block.isNull() ? nullptr : reinterpret_cast<const Vendor0080VUCommonData*>(m_block.content());
275 offset += sizeof(Vendor0080VUTicketData) + ticket->validityAreaDataSize - sizeof(VdvTicketValidityAreaData);
bool isNull() const
Checks if the block is valid or empty/default constructed.
Definition uic9183block.cpp:91
const char * content() const
Returns the payload data (not including the block header).
Definition uic9183block.cpp:68
Ticket validity area data block.
Definition vdvticketcontent.h:87
Q_INVOKABLE KItinerary::Vendor0080BLOrderBlock orderBlock(int i) const
Order block at index i.
Definition vendor0080block.cpp:206
Vendor0080BLSubBlock firstBlock() const
First S-block, for iterating.
Definition vendor0080block.cpp:217
Vendor0080BLSubBlock findSubBlock(const char id[3]) const
Finds a S-block by type.
Definition vendor0080block.cpp:222
UIC 918.3 0080BL vendor data block order block.
Definition vendor0080block.h:18
UIC 918.3 0080BL vendor data block sub-block.
Definition vendor0080block.h:40
Vendor0080BLSubBlock nextBlock() const
Next S-block in the 0080BL block.
Definition vendor0080block.cpp:89
Classes for reservation/travel data models, data extraction and data augmentation.
Definition berelement.h:17
const char * constData() const const
QDate fromString(QStringView string, QStringView format, QCalendar cal)
QString fromUtf8(QByteArrayView str)
qsizetype size() const const
QByteArray toUtf8() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:09:59 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:09:59 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.