Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
QLocaleData::DataRange Struct Reference

#include <qlocale_p.h>

+ Collaboration diagram for QLocaleData::DataRange:

Public Member Functions

QString getData (const char16_t *table) const
 
QStringView viewData (const char16_t *table) const
 
QString getListEntry (const char16_t *table, qsizetype index) const
 
QStringView viewListEntry (const char16_t *table, qsizetype index) const
 
char32_t ucsFirst (const char16_t *table) const
 

Public Attributes

quint16 offset
 
quint16 size
 

Detailed Description

Definition at line 382 of file qlocale_p.h.

Member Function Documentation

◆ getData()

QString QLocaleData::DataRange::getData ( const char16_t *  table) const
inline

Definition at line 386 of file qlocale_p.h.

References QString::fromRawData().

Referenced by getListEntry().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getListEntry()

QString QLocaleData::DataRange::getListEntry ( const char16_t *  table,
qsizetype  index 
) const
inline

Definition at line 396 of file qlocale_p.h.

References getData().

+ Here is the call graph for this function:

◆ ucsFirst()

char32_t QLocaleData::DataRange::ucsFirst ( const char16_t *  table) const
inline

Definition at line 404 of file qlocale_p.h.

References QChar::isHighSurrogate(), QChar::isSurrogate(), offset, and QChar::surrogateToUcs4().

+ Here is the call graph for this function:

◆ viewData()

QStringView QLocaleData::DataRange::viewData ( const char16_t *  table) const
inline

Definition at line 392 of file qlocale_p.h.

References offset.

Referenced by viewListEntry().

+ Here is the caller graph for this function:

◆ viewListEntry()

QStringView QLocaleData::DataRange::viewListEntry ( const char16_t *  table,
qsizetype  index 
) const
inline

Definition at line 400 of file qlocale_p.h.

References viewData().

+ Here is the call graph for this function:

Member Data Documentation

◆ offset

quint16 QLocaleData::DataRange::offset

Definition at line 384 of file qlocale_p.h.

Referenced by ucsFirst(), and viewData().

◆ size

quint16 QLocaleData::DataRange::size

Definition at line 385 of file qlocale_p.h.


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