![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qutf8stringview.h>
Public Types | |
using | storage_type |
typedef const storage_type | value_type |
typedef qptrdiff | difference_type |
typedef qsizetype | size_type |
typedef value_type & | reference |
typedef value_type & | const_reference |
typedef value_type * | pointer |
typedef value_type * | const_pointer |
typedef pointer | iterator |
typedef const_pointer | const_iterator |
typedef std::reverse_iterator< iterator > | reverse_iterator |
typedef std::reverse_iterator< const_iterator > | const_reverse_iterator |
Public Member Functions | |
constexpr | QBasicUtf8StringView () noexcept |
constexpr | QBasicUtf8StringView (std::nullptr_t) noexcept |
template<typename Char, if_compatible_char< Char > = true> | |
constexpr | QBasicUtf8StringView (const Char *str, qsizetype len) |
template<typename Char, if_compatible_char< Char > = true> | |
constexpr | QBasicUtf8StringView (const Char *f, const Char *l) |
template<typename Pointer, if_compatible_pointer< Pointer > = true> | |
constexpr | QBasicUtf8StringView (const Pointer &str) noexcept |
template<typename Char, if_compatible_char< Char > = true> | |
constexpr | QBasicUtf8StringView (const Char(&str)[]) noexcept |
template<typename String, if_compatible_qstring_like< String > = true> | |
QBasicUtf8StringView (const String &str) noexcept | |
template<typename Container, if_compatible_container< Container > = true> | |
constexpr | QBasicUtf8StringView (const Container &c) noexcept |
QString | toString () const |
constexpr qsizetype | size () const noexcept |
constexpr const_pointer | data () const noexcept |
constexpr storage_type | operator[] (qsizetype n) const |
constexpr storage_type | at (qsizetype n) const |
template<typename... Args> | |
QString | arg (Args &&...args) const |
constexpr QBasicUtf8StringView | mid (qsizetype pos, qsizetype n=-1) const |
constexpr QBasicUtf8StringView | left (qsizetype n) const |
constexpr QBasicUtf8StringView | right (qsizetype n) const |
constexpr QBasicUtf8StringView | sliced (qsizetype pos) const |
constexpr QBasicUtf8StringView | sliced (qsizetype pos, qsizetype n) const |
constexpr QBasicUtf8StringView | first (qsizetype n) const |
constexpr QBasicUtf8StringView | last (qsizetype n) const |
constexpr QBasicUtf8StringView | chopped (qsizetype n) const |
constexpr QBasicUtf8StringView & | slice (qsizetype pos) |
constexpr QBasicUtf8StringView & | slice (qsizetype pos, qsizetype n) |
constexpr void | truncate (qsizetype n) |
constexpr void | chop (qsizetype n) |
bool | isValidUtf8 () const noexcept |
const_iterator | begin () const noexcept |
const_iterator | end () const noexcept |
const_iterator | cbegin () const noexcept |
const_iterator | cend () const noexcept |
const_reverse_iterator | rbegin () const noexcept |
const_reverse_iterator | rend () const noexcept |
const_reverse_iterator | crbegin () const noexcept |
const_reverse_iterator | crend () const noexcept |
constexpr bool | empty () const noexcept |
constexpr storage_type | front () const |
constexpr storage_type | back () const |
Q_IMPLICIT | operator std::basic_string_view< storage_type > () const noexcept |
constexpr qsizetype | max_size () const noexcept |
constexpr bool | isNull () const noexcept |
constexpr bool | isEmpty () const noexcept |
constexpr qsizetype | length () const noexcept |
int | compare (QBasicUtf8StringView other, Qt::CaseSensitivity cs=Qt::CaseSensitive) const noexcept |
int | compare (QChar other, Qt::CaseSensitivity cs=Qt::CaseSensitive) const noexcept |
int | compare (QStringView other, Qt::CaseSensitivity cs=Qt::CaseSensitive) const noexcept |
int | compare (QLatin1StringView other, Qt::CaseSensitivity cs=Qt::CaseSensitive) const noexcept |
int | compare (const QByteArray &other, Qt::CaseSensitivity cs=Qt::CaseSensitive) const noexcept |
bool | equal (QChar other) const noexcept |
bool | equal (QStringView other) const noexcept |
bool | equal (QLatin1StringView other) const noexcept |
bool | equal (const QByteArray &other) const noexcept |
Static Public Member Functions | |
template<typename Char, size_t Size, if_compatible_char< Char > = true> | |
static constexpr QBasicUtf8StringView | fromArray (const Char(&string)[Size]) noexcept |
static constexpr qsizetype | maxSize () noexcept |
Definition at line 95 of file qutf8stringview.h.
typedef const_pointer QBasicUtf8StringView< UseChar8T >::const_iterator |
Definition at line 115 of file qutf8stringview.h.
typedef value_type* QBasicUtf8StringView< UseChar8T >::const_pointer |
Definition at line 112 of file qutf8stringview.h.
typedef value_type& QBasicUtf8StringView< UseChar8T >::const_reference |
Definition at line 110 of file qutf8stringview.h.
typedef std::reverse_iterator<const_iterator> QBasicUtf8StringView< UseChar8T >::const_reverse_iterator |
Definition at line 117 of file qutf8stringview.h.
typedef qptrdiff QBasicUtf8StringView< UseChar8T >::difference_type |
Definition at line 107 of file qutf8stringview.h.
typedef pointer QBasicUtf8StringView< UseChar8T >::iterator |
Definition at line 114 of file qutf8stringview.h.
typedef value_type* QBasicUtf8StringView< UseChar8T >::pointer |
Definition at line 111 of file qutf8stringview.h.
typedef value_type& QBasicUtf8StringView< UseChar8T >::reference |
Definition at line 109 of file qutf8stringview.h.
typedef std::reverse_iterator<iterator> QBasicUtf8StringView< UseChar8T >::reverse_iterator |
Definition at line 116 of file qutf8stringview.h.
typedef qsizetype QBasicUtf8StringView< UseChar8T >::size_type |
Definition at line 108 of file qutf8stringview.h.
using QBasicUtf8StringView< UseChar8T >::storage_type |
Definition at line 99 of file qutf8stringview.h.
typedef const storage_type QBasicUtf8StringView< UseChar8T >::value_type |
Definition at line 106 of file qutf8stringview.h.
|
inlineconstexprnoexcept |
Definition at line 153 of file qutf8stringview.h.
Referenced by QBasicUtf8StringView< false >::QBasicUtf8StringView().
|
inlineconstexprnoexcept |
Definition at line 155 of file qutf8stringview.h.
|
inlineconstexpr |
Definition at line 159 of file qutf8stringview.h.
Referenced by QBasicUtf8StringView< false >::QBasicUtf8StringView().
|
inlineconstexpr |
Definition at line 164 of file qutf8stringview.h.
|
inlineconstexprnoexcept |
Definition at line 175 of file qutf8stringview.h.
Referenced by QBasicUtf8StringView< false >::QBasicUtf8StringView().
|
inlineconstexprnoexcept |
Definition at line 179 of file qutf8stringview.h.
|
inlinenoexcept |
Definition at line 188 of file qutf8stringview.h.
|
inlineconstexprnoexcept |
Definition at line 193 of file qutf8stringview.h.
|
inlinenodiscard |
|
inlinenodiscardconstexpr |
Definition at line 220 of file qutf8stringview.h.
|
inlinenodiscardconstexpr |
Definition at line 287 of file qutf8stringview.h.
|
inlinenodiscardnoexcept |
Definition at line 276 of file qutf8stringview.h.
Referenced by QBasicUtf8StringView< false >::cbegin(), and QBasicUtf8StringView< false >::rend().
|
inlinenodiscardnoexcept |
Definition at line 278 of file qutf8stringview.h.
|
inlinenodiscardnoexcept |
Definition at line 279 of file qutf8stringview.h.
|
inlineconstexpr |
Definition at line 265 of file qutf8stringview.h.
|
inlinenodiscardconstexpr |
Definition at line 255 of file qutf8stringview.h.
|
inlinenodiscardnoexcept |
|
inlinenodiscardnoexcept |
Definition at line 302 of file qutf8stringview.h.
|
inlinenodiscardnoexcept |
|
inlinenodiscardnoexcept |
|
inlinenodiscardnoexcept |
|
inlinenodiscardnoexcept |
Definition at line 282 of file qutf8stringview.h.
|
inlinenodiscardnoexcept |
Definition at line 283 of file qutf8stringview.h.
|
inlinenodiscardconstexprnoexcept |
Definition at line 208 of file qutf8stringview.h.
Referenced by QBasicUtf8StringView< false >::begin().
|
inlinenodiscardconstexprnoexcept |
Definition at line 285 of file qutf8stringview.h.
|
inlinenodiscardnoexcept |
Definition at line 277 of file qutf8stringview.h.
Referenced by QBasicUtf8StringView< false >::cend(), and QBasicUtf8StringView< false >::rbegin().
|
inlinenodiscardnoexcept |
|
inlinenodiscardnoexcept |
|
inlinenodiscardnoexcept |
|
inlinenodiscardnoexcept |
|
inlinenodiscardconstexpr |
Definition at line 251 of file qutf8stringview.h.
|
inlinestaticnodiscardconstexprnoexcept |
Definition at line 202 of file qutf8stringview.h.
|
inlinenodiscardconstexpr |
Definition at line 286 of file qutf8stringview.h.
|
inlinenodiscardconstexprnoexcept |
Definition at line 298 of file qutf8stringview.h.
|
inlinenodiscardconstexprnoexcept |
Definition at line 297 of file qutf8stringview.h.
|
inlinenodiscardnoexcept |
Definition at line 268 of file qutf8stringview.h.
|
inlinenodiscardconstexpr |
Definition at line 253 of file qutf8stringview.h.
|
inlinenodiscardconstexpr |
Definition at line 233 of file qutf8stringview.h.
|
inlinenodiscardconstexprnoexcept |
Definition at line 299 of file qutf8stringview.h.
|
inlinenodiscardconstexprnoexcept |
Definition at line 292 of file qutf8stringview.h.
|
inlinestaticnodiscardconstexprnoexcept |
Definition at line 324 of file qutf8stringview.h.
|
inlinenodiscardconstexpr |
Definition at line 226 of file qutf8stringview.h.
|
inlinenodiscardnoexcept |
Definition at line 289 of file qutf8stringview.h.
|
inlinenodiscardconstexpr |
Definition at line 213 of file qutf8stringview.h.
|
inlinenodiscardnoexcept |
Definition at line 280 of file qutf8stringview.h.
Referenced by QBasicUtf8StringView< false >::crbegin().
|
inlinenodiscardnoexcept |
Definition at line 281 of file qutf8stringview.h.
Referenced by QBasicUtf8StringView< false >::crend().
|
inlinenodiscardconstexpr |
Definition at line 240 of file qutf8stringview.h.
|
inlinenodiscardconstexprnoexcept |
Definition at line 207 of file qutf8stringview.h.
|
inlineconstexpr |
Definition at line 258 of file qutf8stringview.h.
|
inlineconstexpr |
Definition at line 260 of file qutf8stringview.h.
|
inlinenodiscardconstexpr |
Definition at line 247 of file qutf8stringview.h.
|
inlinenodiscardconstexpr |
Definition at line 249 of file qutf8stringview.h.
|
inlinenodiscard |
|
inlineconstexpr |
Definition at line 263 of file qutf8stringview.h.
|
friend |
Definition at line 417 of file qutf8stringview.h.
|
friend |
Definition at line 338 of file qutf8stringview.h.
|
friend |
Definition at line 405 of file qutf8stringview.h.
|
friend |
Definition at line 389 of file qutf8stringview.h.
|
friend |
Definition at line 376 of file qutf8stringview.h.
|
friend |
Definition at line 353 of file qutf8stringview.h.
|
friend |
Definition at line 366 of file qutf8stringview.h.
|
friend |
Definition at line 420 of file qutf8stringview.h.
|
friend |
Definition at line 345 of file qutf8stringview.h.
|
friend |
Definition at line 410 of file qutf8stringview.h.
|
friend |
Definition at line 396 of file qutf8stringview.h.
|
friend |
Definition at line 379 of file qutf8stringview.h.
|
friend |
Definition at line 358 of file qutf8stringview.h.
|
friend |
Definition at line 369 of file qutf8stringview.h.