QtBase
v6.3.1
|
#include <qutf8stringview.h>
Public Types | |
using | storage_type = typename std::conditional< UseChar8T, QtPrivate::hide_char8_t, QtPrivate::wrap_char >::type::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 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 |
const_pointer | data () const noexcept |
constexpr storage_type | operator[] (qsizetype n) const |
constexpr storage_type | at (qsizetype n) 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 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 |
constexpr bool | isNull () const noexcept |
constexpr bool | isEmpty () const noexcept |
constexpr qsizetype | length () const noexcept |
Static Public Member Functions | |
template<typename Char , size_t Size, if_compatible_char< Char > = true> | |
constexpr static QBasicUtf8StringView | fromArray (const Char(&string)[Size]) noexcept |
Friends | |
bool | operator== (QBasicUtf8StringView lhs, QBasicUtf8StringView rhs) noexcept |
bool | operator!= (QBasicUtf8StringView lhs, QBasicUtf8StringView rhs) noexcept |
bool | operator<= (QBasicUtf8StringView lhs, QBasicUtf8StringView rhs) noexcept |
bool | operator>= (QBasicUtf8StringView lhs, QBasicUtf8StringView rhs) noexcept |
bool | operator< (QBasicUtf8StringView lhs, QBasicUtf8StringView rhs) noexcept |
bool | operator> (QBasicUtf8StringView lhs, QBasicUtf8StringView rhs) noexcept |
Definition at line 126 of file qutf8stringview.h.
typedef const_pointer QBasicUtf8StringView< UseChar8T >::const_iterator |
Definition at line 146 of file qutf8stringview.h.
typedef value_type* QBasicUtf8StringView< UseChar8T >::const_pointer |
Definition at line 143 of file qutf8stringview.h.
typedef value_type& QBasicUtf8StringView< UseChar8T >::const_reference |
Definition at line 141 of file qutf8stringview.h.
typedef std::reverse_iterator<const_iterator> QBasicUtf8StringView< UseChar8T >::const_reverse_iterator |
Definition at line 148 of file qutf8stringview.h.
typedef qptrdiff QBasicUtf8StringView< UseChar8T >::difference_type |
Definition at line 138 of file qutf8stringview.h.
typedef pointer QBasicUtf8StringView< UseChar8T >::iterator |
Definition at line 145 of file qutf8stringview.h.
typedef value_type* QBasicUtf8StringView< UseChar8T >::pointer |
Definition at line 142 of file qutf8stringview.h.
typedef value_type& QBasicUtf8StringView< UseChar8T >::reference |
Definition at line 140 of file qutf8stringview.h.
typedef std::reverse_iterator<iterator> QBasicUtf8StringView< UseChar8T >::reverse_iterator |
Definition at line 147 of file qutf8stringview.h.
typedef qsizetype QBasicUtf8StringView< UseChar8T >::size_type |
Definition at line 139 of file qutf8stringview.h.
using QBasicUtf8StringView< UseChar8T >::storage_type = typename std::conditional<UseChar8T, QtPrivate::hide_char8_t, QtPrivate::wrap_char >::type::type |
Definition at line 130 of file qutf8stringview.h.
typedef const storage_type QBasicUtf8StringView< UseChar8T >::value_type |
Definition at line 137 of file qutf8stringview.h.
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
Definition at line 188 of file qutf8stringview.h.
|
inlineconstexpr |
Definition at line 192 of file qutf8stringview.h.
|
inlineconstexpr |
Definition at line 197 of file qutf8stringview.h.
|
inlineconstexprnoexcept |
Definition at line 208 of file qutf8stringview.h.
|
inlinenoexcept |
Definition at line 217 of file qutf8stringview.h.
|
inlineconstexprnoexcept |
Definition at line 222 of file qutf8stringview.h.
|
inlineconstexpr |
Definition at line 249 of file qutf8stringview.h.
|
inlineconstexpr |
|
inlinenoexcept |
Definition at line 297 of file qutf8stringview.h.
|
inlinenoexcept |
|
inlinenoexcept |
|
inlineconstexpr |
Definition at line 286 of file qutf8stringview.h.
|
inlineconstexpr |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlineconstexprnoexcept |
Definition at line 306 of file qutf8stringview.h.
|
inlinenoexcept |
Definition at line 298 of file qutf8stringview.h.
|
inlineconstexpr |
|
inlinestaticconstexprnoexcept |
|
inlineconstexpr |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
Definition at line 313 of file qutf8stringview.h.
|
inlinenoexcept |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexprnoexcept |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlinenoexcept |
Definition at line 301 of file qutf8stringview.h.
|
inlinenoexcept |
Definition at line 302 of file qutf8stringview.h.
|
inlineconstexpr |
|
inlineconstexprnoexcept |
|
inlineconstexpr |
Definition at line 273 of file qutf8stringview.h.
|
inlineconstexpr |
|
inline |
|
inlineconstexpr |
Definition at line 284 of file qutf8stringview.h.
|
friend |
Definition at line 331 of file qutf8stringview.h.
|
friend |
Definition at line 342 of file qutf8stringview.h.
|
friend |
Definition at line 338 of file qutf8stringview.h.
|
friend |
Definition at line 325 of file qutf8stringview.h.
|
friend |
Definition at line 344 of file qutf8stringview.h.
|
friend |
Definition at line 340 of file qutf8stringview.h.