QtBase
v6.3.1
|
#include <qanystringview.h>
Public Types | |
typedef qptrdiff | difference_type |
typedef qsizetype | size_type |
Public Member Functions | |
constexpr | QAnyStringView () noexcept |
constexpr | QAnyStringView (std::nullptr_t) noexcept |
template<typename Char , if_compatible_char< Char > = true> | |
constexpr | QAnyStringView (const Char *str, qsizetype len) |
template<typename Char , if_compatible_char< Char > = true> | |
constexpr | QAnyStringView (const Char *f, const Char *l) |
template<typename Pointer , if_compatible_pointer< Pointer > = true> | |
constexpr | QAnyStringView (const Pointer &str) noexcept |
QAnyStringView (const QByteArray &str) noexcept | |
QAnyStringView (const QString &str) noexcept | |
constexpr | QAnyStringView (QLatin1String str) noexcept |
template<typename A , typename B > | |
QAnyStringView (const QStringBuilder< A, B > &expr, typename QConcatenable< QStringBuilder< A, B >>::ConvertTo &&capacity={}) | |
template<typename Container , if_compatible_container< Container > = true> | |
constexpr | QAnyStringView (const Container &c) noexcept |
template<typename Char , if_compatible_char< Char > = true> | |
constexpr | QAnyStringView (const Char &c) noexcept |
constexpr | QAnyStringView (const QChar &c) noexcept |
template<typename Char , typename Container = decltype(QChar::fromUcs4(U'x')), std::enable_if_t< std::is_same_v< Char, char32_t >, bool > = true> | |
constexpr | QAnyStringView (Char c, Container &&capacity={}) |
constexpr | QAnyStringView (QStringView v) noexcept |
template<bool UseChar8T> | |
constexpr | QAnyStringView (QBasicUtf8StringView< UseChar8T > v) noexcept |
template<typename Visitor > | |
constexpr decltype(auto) | visit (Visitor &&v) const |
QString | toString () const |
constexpr qsizetype | size () const noexcept |
constexpr const void * | data () const noexcept |
constexpr QChar | front () const |
constexpr QChar | back () const |
constexpr bool | empty () const noexcept |
constexpr qsizetype | size_bytes () const noexcept |
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 QAnyStringView | fromArray (const Char(&string)[Size]) noexcept |
static Q_CORE_EXPORT int | compare (QAnyStringView lhs, QAnyStringView rhs, Qt::CaseSensitivity cs=Qt::CaseSensitive) noexcept |
static Q_CORE_EXPORT bool | equal (QAnyStringView lhs, QAnyStringView rhs) noexcept |
Friends | |
bool | operator== (QAnyStringView lhs, QAnyStringView rhs) noexcept |
bool | operator!= (QAnyStringView lhs, QAnyStringView rhs) noexcept |
bool | operator<= (QAnyStringView lhs, QAnyStringView rhs) noexcept |
bool | operator>= (QAnyStringView lhs, QAnyStringView rhs) noexcept |
bool | operator< (QAnyStringView lhs, QAnyStringView rhs) noexcept |
bool | operator> (QAnyStringView lhs, QAnyStringView rhs) noexcept |
Definition at line 55 of file qanystringview.h.
Definition at line 58 of file qanystringview.h.
typedef qsizetype QAnyStringView::size_type |
Definition at line 59 of file qanystringview.h.
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
Definition at line 134 of file qanystringview.h.
|
inlineconstexpr |
Definition at line 138 of file qanystringview.h.
|
inlineconstexpr |
Definition at line 143 of file qanystringview.h.
|
inlineconstexprnoexcept |
Definition at line 155 of file qanystringview.h.
|
inlinenoexcept |
|
inlineconstexprnoexcept |
|
inline |
Definition at line 496 of file qstringbuilder.h.
|
inlineconstexprnoexcept |
Definition at line 170 of file qanystringview.h.
|
inlineconstexprnoexcept |
Definition at line 174 of file qanystringview.h.
Definition at line 176 of file qanystringview.h.
|
inlineconstexpr |
Definition at line 181 of file qanystringview.h.
|
inlineconstexprnoexcept |
Definition at line 184 of file qanystringview.h.
|
inlineconstexprnoexcept |
Definition at line 188 of file qanystringview.h.
|
staticnoexcept |
|
inlineconstexprnoexcept |
Definition at line 212 of file qanystringview.h.
|
staticnoexcept |
|
inlinestaticconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
Definition at line 219 of file qanystringview.h.
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inline |
|
inlineconstexpr |
|
friend |
Definition at line 227 of file qanystringview.h.
|
friend |
Definition at line 238 of file qanystringview.h.
|
friend |
Definition at line 234 of file qanystringview.h.
|
friend |
Definition at line 225 of file qanystringview.h.
|
friend |
Definition at line 240 of file qanystringview.h.
|
friend |
Definition at line 236 of file qanystringview.h.
Definition at line 284 of file qanystringview.h.
const char16_t* QAnyStringView::m_data_utf16 |
Definition at line 286 of file qanystringview.h.
const char* QAnyStringView::m_data_utf8 |
Definition at line 285 of file qanystringview.h.