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

QDateTime VdvTicket::beginDateTime

Begin of the validitiy of this ticket.

Definition at line 33 of file vdvticket.h.

QDateTime KItinerary::VdvTicket::endDateTime

End of the validity of this ticket.

Definition at line 35 of file vdvticket.h.

int VdvTicket::issuerId

VDV organization identifier of the ticket issuer.

Definition at line 38 of file vdvticket.h.

int VdvTicket::operatorId

VDV organization identifier of the operator.

Definition at line 40 of file vdvticket.h.

Person VdvTicket::person

The person this ticket is valid for.

Definition at line 44 of file vdvticket.h.

VdvTicket::ServiceClass VdvTicket::serviceClass

Service class for this ticket.

Definition at line 42 of file vdvticket.h.

QString VdvTicket::ticketNumber

Ticket number.

Definition at line 46 of file vdvticket.h.

Member Function Documentation

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-2021 The KDE developers.
Generated on Tue Nov 30 2021 23:06:14 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.