KItinerary::ELBTicket
KItinerary::ELBTicket Class Reference
#include <elbticket.h>
Properties | |
QString | rawData |
KItinerary::ELBTicketSegment | segment1 |
KItinerary::ELBTicketSegment | segment2 |
Public Member Functions | |
Q_INVOKABLE QDate | emissionDate (const QDateTime &contextDate=QDateTime::currentDateTime()) const |
QString | rawData () const |
ELBTicketSegment | segment1 () const |
ELBTicketSegment | segment2 () const |
Q_INVOKABLE QDate | validFromDate (const QDateTime &contextDate=QDateTime::currentDateTime()) const |
Q_INVOKABLE QDate | validUntilDate (const QDateTime &contextDate=QDateTime::currentDateTime()) const |
Static Public Member Functions | |
static bool | maybeELBTicket (const QByteArray &data) |
static std::optional< ELBTicket > | parse (const QByteArray &data) |
Detailed Description
ERA (Element List Barcode) ELB ticket barcode.
- See also
- ERA TAP TSI TD B.12 Digital Security Elements For Rail Passenger Ticketing - ยง8 ELB - Element List Barcode
Definition at line 33 of file elbticket.h.
Property Documentation
◆ rawData
|
read |
Definition at line 59 of file elbticket.h.
◆ segment1
|
read |
Definition at line 56 of file elbticket.h.
◆ segment2
|
read |
Definition at line 57 of file elbticket.h.
Member Function Documentation
◆ emissionDate()
QDate ELBTicket::emissionDate | ( | const QDateTime & | contextDate = QDateTime::currentDateTime() | ) | const |
Definition at line 40 of file elbticket.cpp.
◆ maybeELBTicket()
|
static |
Definition at line 85 of file elbticket.cpp.
◆ parse()
|
static |
Definition at line 90 of file elbticket.cpp.
◆ rawData()
QString ELBTicket::rawData | ( | ) | const |
Definition at line 62 of file elbticket.cpp.
◆ segment1()
ELBTicketSegment ELBTicket::segment1 | ( | ) | const |
Definition at line 14 of file elbticket.cpp.
◆ segment2()
ELBTicketSegment ELBTicket::segment2 | ( | ) | const |
Definition at line 22 of file elbticket.cpp.
◆ validFromDate()
QDate ELBTicket::validFromDate | ( | const QDateTime & | contextDate = QDateTime::currentDateTime() | ) | const |
Definition at line 45 of file elbticket.cpp.
◆ validUntilDate()
QDate ELBTicket::validUntilDate | ( | const QDateTime & | contextDate = QDateTime::currentDateTime() | ) | const |
Definition at line 50 of file elbticket.cpp.
The documentation for this class was generated from the following files:
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.