KItinerary::KnowledgeDb::VRStationCode

Search for usage in LXR

KItinerary::KnowledgeDb::VRStationCode Class Reference

#include <stationidentifier.h>

Inheritance diagram for KItinerary::KnowledgeDb::VRStationCode:

Public Member Functions

constexpr VRStationCode (const char s[4])
 
 VRStationCode (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

VR (Finland) station codes.

2 to 4 letter uppercase alphabetic code.

Definition at line 97 of file stationidentifier.h.

Constructor & Destructor Documentation

◆ VRStationCode() [1/2]

KItinerary::KnowledgeDb::VRStationCode::VRStationCode ( const char s[4])
inlineexplicitconstexpr

Definition at line 101 of file stationidentifier.h.

◆ VRStationCode() [2/2]

VRStationCode::VRStationCode ( const QString & id)
explicit

Definition at line 63 of file stationidentifier.cpp.

Member Function Documentation

◆ isValid()

bool KItinerary::KnowledgeDb::VRStationCode::isValid ( ) const
inlinenodiscardconstexpr

Definition at line 106 of file stationidentifier.h.

◆ toString()

QString VRStationCode::toString ( ) const
nodiscard

Definition at line 75 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 Mon Nov 18 2024 12:09:59 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.