Search for usage in LXR

KItinerary::VdvTicket Class Reference

#include <vdvticket.h>

Public Types

enum  ServiceClass { UnknownClass = 0, FirstClass = 1, SecondClass = 2, FirstClassUpgrade = 3 }


QDateTime beginDateTime
QDateTime endDateTime
int issuerId
int operatorId
KItinerary::Person person
QByteArray rawData
ServiceClass serviceClass
QString ticketNumber

Public Member Functions

 VdvTicket (const QByteArray &data, const QByteArray &rawData)
 VdvTicket (const VdvTicket &)
QDateTime beginDateTime () const
const VdvTicketCommonTransactionDatacommonTransactionData () const
QDateTime endDateTime () const
const VdvTicketHeaderheader () const
const VdvTicketIssueDataissueData () const
int issuerId () const
VdvTicketoperator= (const VdvTicket &)
int operatorId () const
Person person () const
BER::Element productData () const
BER::Element productSpecificTransactionData () const
QByteArray rawData () const
ServiceClass serviceClass () const
QString ticketNumber () const
const VdvTicketTrailertrailer () const

Detailed Description

Ticket information from a VDV barcode.

For use by tooling or custom extractor scripts.

Definition at line 29 of file vdvticket.h.

Property Documentation

◆ beginDateTime

QDateTime VdvTicket::beginDateTime

Begin of the validitiy of this ticket.

Definition at line 33 of file vdvticket.h.

◆ endDateTime

QDateTime KItinerary::VdvTicket::endDateTime

End of the validity of this ticket.

Definition at line 35 of file vdvticket.h.

◆ issuerId

int VdvTicket::issuerId

VDV organization identifier of the ticket issuer.

Definition at line 38 of file vdvticket.h.

◆ operatorId

int VdvTicket::operatorId

VDV organization identifier of the operator.

Definition at line 40 of file vdvticket.h.

◆ person

Person VdvTicket::person

The person this ticket is valid for.

Definition at line 44 of file vdvticket.h.

◆ serviceClass

VdvTicket::ServiceClass VdvTicket::serviceClass

Service class for this ticket.

Definition at line 42 of file vdvticket.h.

◆ ticketNumber

QString VdvTicket::ticketNumber

Ticket number.

Definition at line 46 of file vdvticket.h.

Member Function Documentation

◆ rawData()

QByteArray KItinerary::VdvTicket::rawData ( ) const

Raw data of this ticket.

Useful for generating a barcode for it again.

The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Thu Sep 28 2023 04:00:17 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.