\inmodule QtCore \reentrant
More...
#include <qchar.h>
|
constexpr | QLatin1Char (char c) noexcept |
| Constructs a Latin-1 character for c.
|
|
constexpr char | toLatin1 () const noexcept |
| Converts a Latin-1 character to an 8-bit ASCII representation of the character.
|
|
constexpr char16_t | unicode () const noexcept |
| Converts a Latin-1 character to an 16-bit-encoded Unicode representation of the character.
|
|
|
constexpr bool | operator== (QLatin1Char lhs, QLatin1Char rhs) noexcept |
|
constexpr bool | operator!= (QLatin1Char lhs, QLatin1Char rhs) noexcept |
|
constexpr bool | operator<= (QLatin1Char lhs, QLatin1Char rhs) noexcept |
|
constexpr bool | operator>= (QLatin1Char lhs, QLatin1Char rhs) noexcept |
|
constexpr bool | operator< (QLatin1Char lhs, QLatin1Char rhs) noexcept |
|
constexpr bool | operator> (QLatin1Char lhs, QLatin1Char rhs) noexcept |
|
constexpr bool | operator== (char lhs, QLatin1Char rhs) noexcept |
|
constexpr bool | operator!= (char lhs, QLatin1Char rhs) noexcept |
|
constexpr bool | operator<= (char lhs, QLatin1Char rhs) noexcept |
|
constexpr bool | operator>= (char lhs, QLatin1Char rhs) noexcept |
|
constexpr bool | operator< (char lhs, QLatin1Char rhs) noexcept |
|
constexpr bool | operator> (char lhs, QLatin1Char rhs) noexcept |
|
constexpr bool | operator== (QLatin1Char lhs, char rhs) noexcept |
|
constexpr bool | operator!= (QLatin1Char lhs, char rhs) noexcept |
|
constexpr bool | operator<= (QLatin1Char lhs, char rhs) noexcept |
|
constexpr bool | operator>= (QLatin1Char lhs, char rhs) noexcept |
|
constexpr bool | operator< (QLatin1Char lhs, char rhs) noexcept |
|
constexpr bool | operator> (QLatin1Char lhs, char rhs) noexcept |
|
|
(Note that these are not member symbols.)
|
| operator""_L1 (char ch) |
|
\inmodule QtCore \reentrant
The QLatin1Char class provides an 8-bit ASCII/Latin-1 character.
This class is only useful to construct a QChar with 8-bit character.
- See also
- QChar, QLatin1StringView, QString
Definition at line 16 of file qchar.h.
◆ QLatin1Char()
QLatin1Char::QLatin1Char |
( |
char |
c | ) |
|
|
inlineexplicitconstexprnoexcept |
Constructs a Latin-1 character for c.
This constructor should be used when the encoding of the input character is known to be Latin-1.
Definition at line 19 of file qchar.h.
◆ toLatin1()
const char QLatin1Char::toLatin1 |
( |
| ) |
const |
|
inlineconstexprnoexcept |
◆ unicode()
QLatin1Char::unicode |
( |
| ) |
const |
|
inlineconstexprnoexcept |
◆ operator!= [1/3]
constexpr bool operator!= |
( |
char |
lhs, |
|
|
QLatin1Char |
rhs |
|
) |
| |
|
friend |
◆ operator!= [2/3]
constexpr bool operator!= |
( |
QLatin1Char |
lhs, |
|
|
char |
rhs |
|
) |
| |
|
friend |
◆ operator!= [3/3]
◆ operator""_L1()
◆ operator< [1/3]
◆ operator< [2/3]
◆ operator< [3/3]
◆ operator<= [1/3]
constexpr bool operator<= |
( |
char |
lhs, |
|
|
QLatin1Char |
rhs |
|
) |
| |
|
friend |
◆ operator<= [2/3]
constexpr bool operator<= |
( |
QLatin1Char |
lhs, |
|
|
char |
rhs |
|
) |
| |
|
friend |
◆ operator<= [3/3]
◆ operator== [1/3]
constexpr bool operator== |
( |
char |
lhs, |
|
|
QLatin1Char |
rhs |
|
) |
| |
|
friend |
◆ operator== [2/3]
constexpr bool operator== |
( |
QLatin1Char |
lhs, |
|
|
char |
rhs |
|
) |
| |
|
friend |
◆ operator== [3/3]
◆ operator> [1/3]
◆ operator> [2/3]
◆ operator> [3/3]
◆ operator>= [1/3]
constexpr bool operator>= |
( |
char |
lhs, |
|
|
QLatin1Char |
rhs |
|
) |
| |
|
friend |
◆ operator>= [2/3]
constexpr bool operator>= |
( |
QLatin1Char |
lhs, |
|
|
char |
rhs |
|
) |
| |
|
friend |
◆ operator>= [3/3]
The documentation for this class was generated from the following files: