KItinerary::FcbUtil

Search for usage in LXR

KItinerary::FcbUtil Class Reference

#include <fcbutil.h>

Static Public Member Functions

static QString classCodeToString (Fcb::TravelClassType classCode)
 
template<typename T >
static QString fromStationIdentifier (const T &doc)
 
template<typename T >
static QString fromStationIdentifier (Fcb::CodeTableType stationCodeTable, const T &doc)
 
template<typename T >
static QString toStationIdentifier (const T &doc)
 
template<typename T >
static QString toStationIdentifier (Fcb::CodeTableType stationCodeTable, const T &doc)
 

Detailed Description

Higher-level decoding utilities for ERA FCB ticket data.

Definition at line 17 of file fcbutil.h.

Member Function Documentation

◆ classCodeToString()

QString FcbUtil::classCodeToString ( Fcb::TravelClassType classCode)
staticnodiscard

Convert a class code enum value to a string for human representation.

Definition at line 30 of file fcbutil.cpp.

◆ fromStationIdentifier() [1/2]

template<typename T >
static QString KItinerary::FcbUtil::fromStationIdentifier ( const T & doc)
inlinestaticnodiscard

Definition at line 36 of file fcbutil.h.

◆ fromStationIdentifier() [2/2]

template<typename T >
static QString KItinerary::FcbUtil::fromStationIdentifier ( Fcb::CodeTableType stationCodeTable,
const T & doc )
inlinestaticnodiscard

Departure station identifier for a travel document, in the format needed for output with our JSON-LD format.

Definition at line 24 of file fcbutil.h.

◆ toStationIdentifier() [1/2]

template<typename T >
static QString KItinerary::FcbUtil::toStationIdentifier ( const T & doc)
inlinestaticnodiscard

Definition at line 53 of file fcbutil.h.

◆ toStationIdentifier() [2/2]

template<typename T >
static QString KItinerary::FcbUtil::toStationIdentifier ( Fcb::CodeTableType stationCodeTable,
const T & doc )
inlinestaticnodiscard

Arrival station identifier for a travel document, in the format needed for output with our JSON-LD format.

Definition at line 41 of file fcbutil.h.


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.