Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QtMiscUtils Namespace Reference

Functions

constexpr char toHexUpper (char32_t value) noexcept
 
constexpr char toHexLower (char32_t value) noexcept
 
constexpr bool isHexDigit (char32_t c) noexcept
 
constexpr int fromHex (char32_t c) noexcept
 
constexpr char toOct (char32_t value) noexcept
 
constexpr bool isOctalDigit (char32_t c) noexcept
 
constexpr int fromOct (char32_t c) noexcept
 
constexpr bool isAsciiDigit (char32_t c) noexcept
 
constexpr bool isAsciiUpper (char32_t c) noexcept
 
constexpr bool isAsciiLower (char32_t c) noexcept
 
constexpr bool isAsciiLetterOrNumber (char32_t c) noexcept
 
constexpr char toAsciiLower (char ch) noexcept
 
constexpr char toAsciiUpper (char ch) noexcept
 
constexpr int caseCompareAscii (char lhs, char rhs) noexcept
 
constexpr int isAsciiPrintable (char32_t ch) noexcept
 
constexpr int qt_lencmp (qsizetype lhs, qsizetype rhs) noexcept
 

Function Documentation

◆ caseCompareAscii()

int QtMiscUtils::caseCompareAscii ( char lhs,
char rhs )
inlineconstexprnoexcept

Definition at line 97 of file qtools_p.h.

References toAsciiLower().

+ Here is the call graph for this function:

◆ fromHex()

int QtMiscUtils::fromHex ( char32_t c)
inlineconstexprnoexcept

Definition at line 44 of file qtools_p.h.

◆ fromOct()

int QtMiscUtils::fromOct ( char32_t c)
inlineconstexprnoexcept

Definition at line 62 of file qtools_p.h.

References isOctalDigit().

+ Here is the call graph for this function:

◆ isAsciiDigit()

bool QtMiscUtils::isAsciiDigit ( char32_t c)
inlinenodiscardconstexprnoexcept

Definition at line 67 of file qtools_p.h.

Referenced by isAsciiLetterOrNumber().

+ Here is the caller graph for this function:

◆ isAsciiLetterOrNumber()

bool QtMiscUtils::isAsciiLetterOrNumber ( char32_t c)
inlineconstexprnoexcept

Definition at line 82 of file qtools_p.h.

References isAsciiDigit(), isAsciiLower(), and isAsciiUpper().

+ Here is the call graph for this function:

◆ isAsciiLower()

bool QtMiscUtils::isAsciiLower ( char32_t c)
inlineconstexprnoexcept

Definition at line 77 of file qtools_p.h.

Referenced by isAsciiLetterOrNumber(), and toAsciiUpper().

+ Here is the caller graph for this function:

◆ isAsciiPrintable()

int QtMiscUtils::isAsciiPrintable ( char32_t ch)
inlineconstexprnoexcept

Definition at line 104 of file qtools_p.h.

◆ isAsciiUpper()

bool QtMiscUtils::isAsciiUpper ( char32_t c)
inlineconstexprnoexcept

Definition at line 72 of file qtools_p.h.

Referenced by isAsciiLetterOrNumber(), and toAsciiLower().

+ Here is the caller graph for this function:

◆ isHexDigit()

bool QtMiscUtils::isHexDigit ( char32_t c)
inlinenodiscardconstexprnoexcept

Definition at line 37 of file qtools_p.h.

◆ isOctalDigit()

bool QtMiscUtils::isOctalDigit ( char32_t c)
inlinenodiscardconstexprnoexcept

Definition at line 57 of file qtools_p.h.

Referenced by fromOct().

+ Here is the caller graph for this function:

◆ qt_lencmp()

int QtMiscUtils::qt_lencmp ( qsizetype lhs,
qsizetype rhs )
inlineconstexprnoexcept

Definition at line 109 of file qtools_p.h.

◆ toAsciiLower()

char QtMiscUtils::toAsciiLower ( char ch)
inlineconstexprnoexcept

Definition at line 87 of file qtools_p.h.

References isAsciiUpper().

Referenced by caseCompareAscii().

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

◆ toAsciiUpper()

char QtMiscUtils::toAsciiUpper ( char ch)
inlineconstexprnoexcept

Definition at line 92 of file qtools_p.h.

References isAsciiLower().

+ Here is the call graph for this function:

◆ toHexLower()

char QtMiscUtils::toHexLower ( char32_t value)
inlineconstexprnoexcept

Definition at line 32 of file qtools_p.h.

◆ toHexUpper()

char QtMiscUtils::toHexUpper ( char32_t value)
inlineconstexprnoexcept

Definition at line 27 of file qtools_p.h.

◆ toOct()

char QtMiscUtils::toOct ( char32_t value)
inlineconstexprnoexcept

Definition at line 52 of file qtools_p.h.