KItinerary::IataBcbpParser

KItinerary::IataBcbpParser Namespace Reference

Functions

QList< QVariantparse (const IataBcbp &bcbp, const QDateTime &contextDate)
 
QList< QVariantparse (const QString &message, const QDateTime &externalIssueDateTime=QDateTime())
 

Detailed Description

Function Documentation

◆ parse() [1/2]

QList< QVariant > KItinerary::IataBcbpParser::parse ( const IataBcbp & bcbp,
const QDateTime & contextDate )
nodiscard

Definition at line 93 of file iatabcbpparser.cpp.

◆ parse() [2/2]

QList< QVariant > KItinerary::IataBcbpParser::parse ( const QString & message,
const QDateTime & externalIssueDateTime = QDateTime() )
nodiscard

Parses the bar coded boarding pass message message into a list of FlightReservation instances.

Parameters
messageThe message.
externalIssueDateThe date the boarding pass was issued (or a sufficiently close approximation). This is necessary as by default the BCBP data only contains day and month of the flight, not the year.

Definition at line 38 of file iatabcbpparser.cpp.

This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:28:49 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.