Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
AlphaCode Struct Reference

#include <qlocale_data_p.h>

+ Collaboration diagram for AlphaCode:

Public Member Functions

constexpr AlphaCode (char c1=0, char c2=0, char c3=0)
 
bool isValid () const noexcept
 
std::array< char, 4 > decode () const
 

Public Attributes

uint16_t c1: 5
 
uint16_t c2:5
 
uint16_t c3: 5
 
uint16_t reserved:1
 

Friends

bool operator== (AlphaCode lhs, AlphaCode rhs) noexcept
 

Detailed Description

Definition at line 44 of file qlocale_data_p.h.

Constructor & Destructor Documentation

◆ AlphaCode()

constexpr AlphaCode::AlphaCode ( char  c1 = 0,
char  c2 = 0,
char  c3 = 0 
)
inlineconstexpr

Definition at line 45 of file qlocale_data_p.h.

Member Function Documentation

◆ decode()

std::array< char, 4 > AlphaCode::decode ( ) const
inline

Definition at line 52 of file qlocale_data_p.h.

References c1, c2, and c3.

Referenced by QLocaleId::name().

+ Here is the caller graph for this function:

◆ isValid()

bool AlphaCode::isValid ( ) const
inlinenoexcept

Definition at line 50 of file qlocale_data_p.h.

References c1.

Friends And Related Symbol Documentation

◆ operator==

bool operator== ( AlphaCode  lhs,
AlphaCode  rhs 
)
friend

Definition at line 58 of file qlocale_data_p.h.

Member Data Documentation

◆ c1

uint16_t AlphaCode::c1

Definition at line 48 of file qlocale_data_p.h.

Referenced by decode(), and isValid().

◆ c2

uint16_t AlphaCode::c2

Definition at line 48 of file qlocale_data_p.h.

Referenced by decode().

◆ c3

uint16_t AlphaCode::c3

Definition at line 48 of file qlocale_data_p.h.

Referenced by decode().

◆ reserved

uint16_t AlphaCode::reserved

Definition at line 48 of file qlocale_data_p.h.


The documentation for this struct was generated from the following file: