![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qbytearrayview.h>
Public Types | |
| typedef char | storage_type |
| typedef const char | 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 | QByteArrayView ()=default |
| constexpr | QByteArrayView (std::nullptr_t) noexcept |
| template<typename Byte, if_compatible_byte< Byte > = true> | |
| constexpr | QByteArrayView (const Byte *data, qsizetype len) |
| template<typename Byte, if_compatible_byte< Byte > = true> | |
| constexpr | QByteArrayView (const Byte *first, const Byte *last) |
| template<typename Pointer, if_compatible_pointer< Pointer > = true> | |
| constexpr | QByteArrayView (const Pointer &data) noexcept |
| template<typename ByteArray, if_compatible_qbytearray_like< ByteArray > = true> | |
| QByteArrayView (const ByteArray &ba) noexcept | |
| template<typename Container, if_compatible_container< Container > = true> | |
| constexpr | QByteArrayView (const Container &c) noexcept |
| template<size_t Size> | |
| constexpr | QByteArrayView (const char(&data)[Size]) noexcept |
| template<typename Byte, if_compatible_byte< Byte > = true> | |
| constexpr | QByteArrayView (const Byte(&data)[]) noexcept |
| QByteArray | toByteArray () const |
| constexpr qsizetype | size () const noexcept |
| constexpr const_pointer | data () const noexcept |
| constexpr const_pointer | constData () const noexcept |
| constexpr char | operator[] (qsizetype n) const |
| constexpr char | at (qsizetype n) const |
| constexpr QByteArrayView | first (qsizetype n) const |
| constexpr QByteArrayView | last (qsizetype n) const |
| constexpr QByteArrayView | sliced (qsizetype pos) const |
| constexpr QByteArrayView | sliced (qsizetype pos, qsizetype n) const |
| constexpr QByteArrayView & | slice (qsizetype pos) |
| constexpr QByteArrayView & | slice (qsizetype pos, qsizetype n) |
| constexpr QByteArrayView | chopped (qsizetype len) const |
| constexpr QByteArrayView | left (qsizetype n) const |
| constexpr QByteArrayView | right (qsizetype n) const |
| constexpr QByteArrayView | mid (qsizetype pos, qsizetype n=-1) const |
| constexpr void | truncate (qsizetype n) |
| constexpr void | chop (qsizetype n) |
| QByteArrayView | trimmed () const noexcept |
| short | toShort (bool *ok=nullptr, int base=10) const |
| ushort | toUShort (bool *ok=nullptr, int base=10) const |
| int | toInt (bool *ok=nullptr, int base=10) const |
| uint | toUInt (bool *ok=nullptr, int base=10) const |
| long | toLong (bool *ok=nullptr, int base=10) const |
| ulong | toULong (bool *ok=nullptr, int base=10) const |
| qlonglong | toLongLong (bool *ok=nullptr, int base=10) const |
| qulonglong | toULongLong (bool *ok=nullptr, int base=10) const |
| float | toFloat (bool *ok=nullptr) const |
| double | toDouble (bool *ok=nullptr) const |
| bool | startsWith (QByteArrayView other) const noexcept |
| constexpr bool | startsWith (char c) const noexcept |
| bool | endsWith (QByteArrayView other) const noexcept |
| constexpr bool | endsWith (char c) const noexcept |
| qsizetype | indexOf (QByteArrayView a, qsizetype from=0) const noexcept |
| qsizetype | indexOf (char ch, qsizetype from=0) const noexcept |
| bool | contains (QByteArrayView a) const noexcept |
| bool | contains (char c) const noexcept |
| qsizetype | lastIndexOf (QByteArrayView a) const noexcept |
| qsizetype | lastIndexOf (QByteArrayView a, qsizetype from) const noexcept |
| qsizetype | lastIndexOf (char ch, qsizetype from=-1) const noexcept |
| qsizetype | count (QByteArrayView a) const noexcept |
| qsizetype | count (char ch) const noexcept |
| int | compare (QByteArrayView a) const noexcept |
| int | compare (QByteArrayView a, Qt::CaseSensitivity) const noexcept |
| bool | isValidUtf8 () const noexcept |
| constexpr const_iterator | begin () const noexcept |
| constexpr const_iterator | end () const noexcept |
| constexpr const_iterator | cbegin () const noexcept |
| constexpr const_iterator | cend () const noexcept |
| constexpr const_reverse_iterator | rbegin () const noexcept |
| constexpr const_reverse_iterator | rend () const noexcept |
| constexpr const_reverse_iterator | crbegin () const noexcept |
| constexpr const_reverse_iterator | crend () const noexcept |
| constexpr bool | empty () const noexcept |
| constexpr char | front () const |
| constexpr char | back () const |
| constexpr Q_IMPLICIT | operator std::string_view () const noexcept |
| constexpr qsizetype | max_size () const noexcept |
| constexpr bool | isNull () const noexcept |
| constexpr bool | isEmpty () const noexcept |
| constexpr qsizetype | length () const noexcept |
| constexpr char | first () const |
| constexpr char | last () const |
Static Public Member Functions | |
| template<typename Byte, size_t Size, if_compatible_byte< Byte > = true> | |
| static constexpr QByteArrayView | fromArray (const Byte(&data)[Size]) noexcept |
| static constexpr qsizetype | maxSize () noexcept |
Friends | |
| bool | comparesEqual (const QByteArrayView &lhs, char rhs) noexcept |
| bool | comparesEqual (const QByteArrayView &lhs, const QByteArrayView &rhs) noexcept |
| Qt::strong_ordering | compareThreeWay (const QByteArrayView &lhs, char rhs) noexcept |
| Qt::strong_ordering | compareThreeWay (const QByteArrayView &lhs, const QByteArrayView &rhs) noexcept |
| Q_CORE_EXPORT bool | comparesEqual (const QByteArrayView &lhs, const QChar &rhs) |
| Q_CORE_EXPORT Qt::strong_ordering | compareThreeWay (const QByteArrayView &lhs, const QChar &rhs) |
| Q_CORE_EXPORT bool | comparesEqual (const QByteArrayView &lhs, char16_t rhs) |
| Q_CORE_EXPORT Qt::strong_ordering | compareThreeWay (const QByteArrayView &lhs, char16_t rhs) |
Definition at line 86 of file qbytearrayview.h.
Definition at line 99 of file qbytearrayview.h.
| typedef value_type* QByteArrayView::const_pointer |
Definition at line 96 of file qbytearrayview.h.
Definition at line 94 of file qbytearrayview.h.
| typedef std::reverse_iterator<const_iterator> QByteArrayView::const_reverse_iterator |
Definition at line 101 of file qbytearrayview.h.
Definition at line 91 of file qbytearrayview.h.
| typedef pointer QByteArrayView::iterator |
Definition at line 98 of file qbytearrayview.h.
| typedef value_type* QByteArrayView::pointer |
Definition at line 95 of file qbytearrayview.h.
| typedef value_type& QByteArrayView::reference |
Definition at line 93 of file qbytearrayview.h.
| typedef std::reverse_iterator<iterator> QByteArrayView::reverse_iterator |
Definition at line 100 of file qbytearrayview.h.
| typedef qsizetype QByteArrayView::size_type |
Definition at line 92 of file qbytearrayview.h.
| typedef char QByteArrayView::storage_type |
Definition at line 89 of file qbytearrayview.h.
| typedef const char QByteArrayView::value_type |
Definition at line 90 of file qbytearrayview.h.
|
constexprdefault |
|
inlineconstexprnoexcept |
Definition at line 143 of file qbytearrayview.h.
|
inlineconstexpr |
Definition at line 147 of file qbytearrayview.h.
|
inlineconstexpr |
Definition at line 157 of file qbytearrayview.h.
|
inlineconstexprnoexcept |
Definition at line 165 of file qbytearrayview.h.
|
inlinenoexcept |
Definition at line 174 of file qbytearrayview.h.
|
inlineconstexprnoexcept |
Definition at line 179 of file qbytearrayview.h.
|
inlineconstexprnoexcept |
Definition at line 182 of file qbytearrayview.h.
|
inlineconstexprnoexcept |
Definition at line 186 of file qbytearrayview.h.
|
inlinenodiscardconstexpr |
Definition at line 219 of file qbytearrayview.h.
|
inlinenodiscardconstexpr |
Definition at line 370 of file qbytearrayview.h.
|
inlinenodiscardconstexprnoexcept |
Definition at line 359 of file qbytearrayview.h.
|
inlinenodiscardconstexprnoexcept |
Definition at line 361 of file qbytearrayview.h.
|
inlinenodiscardconstexprnoexcept |
Definition at line 362 of file qbytearrayview.h.
Definition at line 252 of file qbytearrayview.h.
|
inlinenodiscardconstexpr |
Definition at line 235 of file qbytearrayview.h.
|
inlinenoexcept |
Definition at line 458 of file qbytearrayview.h.
|
inlinenoexcept |
Definition at line 472 of file qbytearrayview.h.
|
inlinenodiscardconstexprnoexcept |
Definition at line 211 of file qbytearrayview.h.
|
inlinenodiscardnoexcept |
Definition at line 324 of file qbytearrayview.h.
|
inlinenodiscardnoexcept |
Definition at line 322 of file qbytearrayview.h.
|
inlinenodiscardnoexcept |
Definition at line 348 of file qbytearrayview.h.
|
inlinenodiscardnoexcept |
Definition at line 340 of file qbytearrayview.h.
|
inlinenodiscardconstexprnoexcept |
Definition at line 365 of file qbytearrayview.h.
|
inlinenodiscardconstexprnoexcept |
Definition at line 366 of file qbytearrayview.h.
|
inlinenodiscardconstexprnoexcept |
Definition at line 210 of file qbytearrayview.h.
|
inlinenodiscardconstexprnoexcept |
Definition at line 368 of file qbytearrayview.h.
|
inlinenodiscardconstexprnoexcept |
Definition at line 360 of file qbytearrayview.h.
|
inlinenodiscardconstexprnoexcept |
Definition at line 308 of file qbytearrayview.h.
|
inlinenodiscardnoexcept |
Definition at line 300 of file qbytearrayview.h.
|
inlinenodiscardconstexpr |
Definition at line 384 of file qbytearrayview.h.
|
inlinenodiscardconstexpr |
Definition at line 221 of file qbytearrayview.h.
|
inlinestaticnodiscardconstexprnoexcept |
Definition at line 194 of file qbytearrayview.h.
|
inlinenodiscardconstexpr |
Definition at line 369 of file qbytearrayview.h.
Definition at line 319 of file qbytearrayview.h.
|
inlinenodiscardnoexcept |
Definition at line 311 of file qbytearrayview.h.
|
inlinenodiscardconstexprnoexcept |
Definition at line 381 of file qbytearrayview.h.
|
inlinenodiscardconstexprnoexcept |
Definition at line 380 of file qbytearrayview.h.
|
inlinenodiscardnoexcept |
Definition at line 354 of file qbytearrayview.h.
|
inlinenodiscardconstexpr |
Definition at line 385 of file qbytearrayview.h.
|
inlinenodiscardconstexpr |
Definition at line 223 of file qbytearrayview.h.
|
inlinenodiscardnoexcept |
Definition at line 337 of file qbytearrayview.h.
|
inlinenodiscardnoexcept |
Definition at line 327 of file qbytearrayview.h.
|
inlinenodiscardnoexcept |
Definition at line 329 of file qbytearrayview.h.
|
inlinenodiscardconstexpr |
Definition at line 238 of file qbytearrayview.h.
|
inlinenodiscardconstexprnoexcept |
Definition at line 382 of file qbytearrayview.h.
|
inlinenodiscardconstexprnoexcept |
Definition at line 375 of file qbytearrayview.h.
|
inlinestaticnodiscardconstexprnoexcept |
Definition at line 198 of file qbytearrayview.h.
|
inlinenodiscardconstexpr |
Definition at line 242 of file qbytearrayview.h.
|
inlinenodiscardconstexprnoexcept |
Definition at line 372 of file qbytearrayview.h.
|
inlinenodiscardconstexpr |
Definition at line 213 of file qbytearrayview.h.
|
inlinenodiscardconstexprnoexcept |
Definition at line 363 of file qbytearrayview.h.
|
inlinenodiscardconstexprnoexcept |
Definition at line 364 of file qbytearrayview.h.
|
inlinenodiscardconstexpr |
Definition at line 240 of file qbytearrayview.h.
|
inlinenodiscardconstexprnoexcept |
Definition at line 204 of file qbytearrayview.h.
|
inlineconstexpr |
Definition at line 230 of file qbytearrayview.h.
|
inlineconstexpr |
Definition at line 232 of file qbytearrayview.h.
|
inlinenodiscardconstexpr |
Definition at line 225 of file qbytearrayview.h.
|
inlinenodiscardconstexpr |
Definition at line 227 of file qbytearrayview.h.
|
inlinenodiscardconstexprnoexcept |
Definition at line 297 of file qbytearrayview.h.
|
inlinenodiscardnoexcept |
Definition at line 289 of file qbytearrayview.h.
|
inlinenodiscard |
Definition at line 852 of file qbytearray.h.
|
inlinenodiscard |
Definition at line 281 of file qbytearrayview.h.
|
inlinenodiscard |
Definition at line 274 of file qbytearrayview.h.
|
inlinenodiscard |
Definition at line 262 of file qbytearrayview.h.
|
inlinenodiscard |
Definition at line 266 of file qbytearrayview.h.
Definition at line 270 of file qbytearrayview.h.
|
inlinenodiscard |
Definition at line 258 of file qbytearrayview.h.
Definition at line 264 of file qbytearrayview.h.
Definition at line 268 of file qbytearrayview.h.
|
inlinenodiscard |
Definition at line 272 of file qbytearrayview.h.
Definition at line 260 of file qbytearrayview.h.
|
inlinenodiscardnoexcept |
Definition at line 256 of file qbytearrayview.h.
Definition at line 250 of file qbytearrayview.h.
|
friend |
Definition at line 398 of file qbytearrayview.h.
|
friend |
Definition at line 6737 of file qstring.cpp.
|
friend |
Definition at line 403 of file qbytearrayview.h.
|
friend |
Definition at line 6726 of file qstring.cpp.
|
friend |
Definition at line 409 of file qbytearrayview.h.
|
friend |
Definition at line 6742 of file qstring.cpp.
|
friend |
Definition at line 421 of file qbytearrayview.h.
|
friend |
Definition at line 6731 of file qstring.cpp.