KItinerary::KnowledgeDb::FiveAlphaId

Search for usage in LXR

KItinerary::KnowledgeDb::FiveAlphaId Class Reference

#include <stationidentifier.h>

Inheritance diagram for KItinerary::KnowledgeDb::FiveAlphaId:

Public Member Functions

constexpr FiveAlphaId (const char s[5])
 
 FiveAlphaId (const QString &id)
 
constexpr bool isValid () const
 
QString toString () const
 
- Public Member Functions inherited from KItinerary::KnowledgeDb::UnalignedNumber< 3 >
constexpr UnalignedNumber (uint32_t num)
 
constexpr operator uint32_t () const
 
constexpr bool operator!= (UnalignedNumber< N > other) const
 
constexpr bool operator< (UnalignedNumber< N > other) const
 
constexpr UnalignedNumber< N > & operator= (uint32_t num)
 
constexpr bool operator== (UnalignedNumber< N > other) const
 
constexpr UnalignedNumber< N > & operator|= (uint32_t num)
 
constexpr uint32_t value () const
 

Additional Inherited Members

- Protected Member Functions inherited from KItinerary::KnowledgeDb::UnalignedNumber< 3 >
constexpr void setValue (uint32_t num)
 

Detailed Description

Base class for SNCF/Benerail station identifiers.

Definition at line 53 of file stationidentifier.h.

Constructor & Destructor Documentation

◆ FiveAlphaId() [1/2]

KItinerary::KnowledgeDb::FiveAlphaId::FiveAlphaId ( const char s[5])
inlineexplicitconstexpr

Definition at line 56 of file stationidentifier.h.

◆ FiveAlphaId() [2/2]

FiveAlphaId::FiveAlphaId ( const QString & id)
explicit

Definition at line 31 of file stationidentifier.cpp.

Member Function Documentation

◆ isValid()

bool KItinerary::KnowledgeDb::FiveAlphaId::isValid ( ) const
inlineconstexpr

Definition at line 63 of file stationidentifier.h.

◆ toString()

QString FiveAlphaId::toString ( ) const

Definition at line 40 of file stationidentifier.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 Fri Dec 6 2024 12:03:24 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.