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)
static

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)
inlinestatic

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 )
inlinestatic

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)
inlinestatic

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 )
inlinestatic

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 Tue Mar 26 2024 11:14:49 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.