KItinerary::IataBcbpRepeatedMandatorySection

Search for usage in LXR

KItinerary::IataBcbpRepeatedMandatorySection Class Reference

#include <iatabcbpsections.h>

Inheritance diagram for KItinerary::IataBcbpRepeatedMandatorySection:

Properties

QString checkinSequenceNumber
 
QString compartmentCode
 
int dayOfFlight
 
QString flightNumber
 
QString fromCityAirportCode
 
QString operatingCarrierDesignator
 
QString operatingCarrierPNRCode
 
QString passengerStatus
 
QString seatNumber
 
QString toCityAirportCode
 
int variableFieldSize
 

Public Member Functions

 IataBcbpRepeatedMandatorySection (QStringView data)
 
Q_INVOKABLE QDate dateOfFlight (const QDateTime &contextDate=QDateTime::currentDateTime()) const
 
bool isValid () const
 

Additional Inherited Members

- Protected Member Functions inherited from KItinerary::IataBcbpSectionBase
int readNumericValue (int offset, int length, int base) const
 
QString readString (int offset, int length) const
 
- Protected Attributes inherited from KItinerary::IataBcbpSectionBase
QStringView m_data
 

Detailed Description

Repeated mandatory sections of an IATA BCBP, occurs once per leg.

Definition at line 81 of file iatabcbpsections.h.

Property Documentation

◆ checkinSequenceNumber

QString KItinerary::IataBcbpRepeatedMandatorySection::checkinSequenceNumber
read

Definition at line 92 of file iatabcbpsections.h.

◆ compartmentCode

QString KItinerary::IataBcbpRepeatedMandatorySection::compartmentCode
read

Definition at line 90 of file iatabcbpsections.h.

◆ dayOfFlight

int KItinerary::IataBcbpRepeatedMandatorySection::dayOfFlight
read

Definition at line 89 of file iatabcbpsections.h.

◆ flightNumber

QString KItinerary::IataBcbpRepeatedMandatorySection::flightNumber
read

Definition at line 88 of file iatabcbpsections.h.

◆ fromCityAirportCode

QString KItinerary::IataBcbpRepeatedMandatorySection::fromCityAirportCode
read

Definition at line 85 of file iatabcbpsections.h.

◆ operatingCarrierDesignator

QString KItinerary::IataBcbpRepeatedMandatorySection::operatingCarrierDesignator
read

Definition at line 87 of file iatabcbpsections.h.

◆ operatingCarrierPNRCode

QString KItinerary::IataBcbpRepeatedMandatorySection::operatingCarrierPNRCode
read

Definition at line 84 of file iatabcbpsections.h.

◆ passengerStatus

QString KItinerary::IataBcbpRepeatedMandatorySection::passengerStatus
read

Definition at line 93 of file iatabcbpsections.h.

◆ seatNumber

QString KItinerary::IataBcbpRepeatedMandatorySection::seatNumber
read

Definition at line 91 of file iatabcbpsections.h.

◆ toCityAirportCode

QString KItinerary::IataBcbpRepeatedMandatorySection::toCityAirportCode
read

Definition at line 86 of file iatabcbpsections.h.

◆ variableFieldSize

int KItinerary::IataBcbpRepeatedMandatorySection::variableFieldSize
read

Definition at line 94 of file iatabcbpsections.h.

Constructor & Destructor Documentation

◆ IataBcbpRepeatedMandatorySection()

IataBcbpRepeatedMandatorySection::IataBcbpRepeatedMandatorySection ( QStringView data)
explicit

Definition at line 79 of file iatabcbpsections.cpp.

Member Function Documentation

◆ dateOfFlight()

QDate IataBcbpRepeatedMandatorySection::dateOfFlight ( const QDateTime & contextDate = QDateTime::currentDateTime()) const
nodiscard

Date of the flight.

Parameters
contextDateA date before the flight to determine the full year which is not specified in the pass itself.

Definition at line 101 of file iatabcbpsections.cpp.

◆ isValid()

bool IataBcbpRepeatedMandatorySection::isValid ( ) const
nodiscard

Definition at line 89 of file iatabcbpsections.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 Sat Dec 21 2024 16:56:37 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.