9#include "kitinerary_export.h"
12#include <qobjectdefs.h>
16#define VDV_NUM_PROPERTY(Name, Size) \
18 VdvNumber<Size> Name; \
19 Q_PROPERTY(uint Name MEMBER Name)
20#define VDV_DATETIME_PROPERTY(Name) \
22 VdvDateTimeCompact Name; \
23 Q_PROPERTY(QDateTime Name MEMBER Name)
24#define VDV_DATE_PROPERTY(Name) \
27 Q_PROPERTY(QDate Name MEMBER Name)
36 VDV_NUM_PROPERTY(ticketId, 4)
37 VDV_NUM_PROPERTY(kvpOrgId, 2)
38 VDV_NUM_PROPERTY(productId, 2)
39 VDV_NUM_PROPERTY(pvOrgId, 2)
40 VDV_DATETIME_PROPERTY(validityBegin)
41 VDV_DATETIME_PROPERTY(validityEnd)
48 VDV_NUM_PROPERTY(paymentType, 1)
49 VDV_NUM_PROPERTY(travelerType, 1)
50 VDV_NUM_PROPERTY(includedTravelerType1, 1)
51 VDV_NUM_PROPERTY(includedTravelerCount1, 1)
52 VDV_NUM_PROPERTY(includedTravelerType2, 1)
53 VDV_NUM_PROPERTY(includedTravelerCount2, 1)
54 VDV_NUM_PROPERTY(categroy, 1)
55 VDV_NUM_PROPERTY(serviceClass, 1)
56 VDV_NUM_PROPERTY(price, 3)
57 VDV_NUM_PROPERTY(vat, 2)
58 VDV_NUM_PROPERTY(priceCategory, 1)
59 VDV_NUM_PROPERTY(productNumber, 3)
68 VDV_NUM_PROPERTY(gender, 1)
69 VDV_DATE_PROPERTY(birthDate)
73 inline const char* name()
const
77 inline int nameSize(
int elementSize)
const
89 VDV_NUM_PROPERTY(type, 1)
90 VDV_NUM_PROPERTY(orgId, 2)
99 VDV_NUM_PROPERTY(startId, 3)
100 VDV_NUM_PROPERTY(destinationId, 3)
101 VDV_NUM_PROPERTY(wayTextId, 2)
102 VDV_NUM_PROPERTY(ticketRelation, 4)
103 VDV_NUM_PROPERTY(pointCloudId, 4)
106 enum { Type = 0x31 };
113 VDV_NUM_PROPERTY(kvpOrgId, 2)
114 VDV_NUM_PROPERTY(terminalTypeCode, 1)
115 VDV_NUM_PROPERTY(terminalNumber, 2)
116 VDV_NUM_PROPERTY(terminalOrganizationNumber, 2)
117 VDV_DATETIME_PROPERTY(transactionDateTime)
118 VDV_NUM_PROPERTY(locationTypeCode, 1)
119 VDV_NUM_PROPERTY(locationNumber, 3)
120 VDV_NUM_PROPERTY(locationOrganizationNumber, 2)
127 VDV_NUM_PROPERTY(samSeq1, 4)
128 VDV_NUM_PROPERTY(version, 1)
129 VDV_NUM_PROPERTY(samSeq2, 4)
130 VDV_NUM_PROPERTY(samId, 3)
138 const char identifier[3];
139 VDV_NUM_PROPERTY(version, 2)
144#undef VDV_NUM_PROPERTY
145#undef VDV_DATETIME_PROPERTY
146#undef VDV_DATE_PROPERTY
Product specific data - basic information.
Ticket transaction data block.
Ticket issuer data block.
Ticket trailer, after padding.
Product specific data - traveler information.
Ticket validity area data block.
Classes for reservation/travel data models, data extraction and data augmentation.
Low-level data types used in VDV ticket structs.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 27 2024 11:51:23 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.