KItinerary::IataBcbpParser

KItinerary::IataBcbpParser Namespace Reference

Functions

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

Detailed Description

Function Documentation

◆ parse()

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

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 29 of file iatabcbpparser.cpp.

This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Thu Oct 6 2022 03:57:58 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.