![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <string_view_template.h>
Public Types | |
using | CharType = T |
using | UnsignedType = typename std::make_unsigned<CharType>::type |
using | const_iterator = const CharType* |
using | const_reverse_iterator = std::reverse_iterator<const_iterator> |
Public Member Functions | |
constexpr | StringViewTemplate () noexcept=default |
constexpr | StringViewTemplate (const StringViewTemplate &src) noexcept=default |
StringViewTemplate (const CharType *ptr) noexcept | |
constexpr | StringViewTemplate (const pdfium::span< const CharType > &other) noexcept |
template<typename E = typename std::enable_if< !std::is_same<UnsignedType, CharType>::value>::type> | |
constexpr | StringViewTemplate (const pdfium::span< const UnsignedType > &other) noexcept |
constexpr | StringViewTemplate (const CharType &ch) noexcept |
UNSAFE_BUFFER_USAGE constexpr | StringViewTemplate (const CharType *ptr, size_t size) noexcept |
template<typename E = typename std::enable_if< !std::is_same<UnsignedType, CharType>::value>::type> | |
UNSAFE_BUFFER_USAGE constexpr | StringViewTemplate (const UnsignedType *ptr, size_t size) noexcept |
StringViewTemplate & | operator= (const CharType *src) |
StringViewTemplate & | operator= (const StringViewTemplate &src) |
const_iterator | begin () const |
const_iterator | end () const |
const_reverse_iterator | rbegin () const |
const_reverse_iterator | rend () const |
bool | operator== (const StringViewTemplate &other) const |
bool | operator== (const CharType *ptr) const |
bool | operator!= (const CharType *ptr) const |
bool | operator!= (const StringViewTemplate &other) const |
bool | IsASCII () const |
bool | EqualsASCII (const StringViewTemplate< char > &that) const |
bool | EqualsASCIINoCase (const StringViewTemplate< char > &that) const |
uint32_t | GetID () const |
pdfium::span< const UnsignedType > | unsigned_span () const |
pdfium::span< const CharType > | span () const |
const UnsignedType * | unterminated_unsigned_str () const |
const CharType * | unterminated_c_str () const |
size_t | GetLength () const |
bool | IsEmpty () const |
bool | IsValidIndex (size_t index) const |
bool | IsValidLength (size_t length) const |
const UnsignedType & | operator[] (const size_t index) const |
CharType | CharAt (const size_t index) const |
UnsignedType | Front () const |
UnsignedType | Back () const |
std::optional< size_t > | Find (CharType ch) const |
bool | Contains (CharType ch) const |
StringViewTemplate | Substr (size_t offset) const |
StringViewTemplate | Substr (size_t first, size_t count) const |
StringViewTemplate | First (size_t count) const |
StringViewTemplate | Last (size_t count) const |
StringViewTemplate | TrimmedRight (CharType ch) const |
bool | operator< (const StringViewTemplate &that) const |
bool | operator> (const StringViewTemplate &that) const |
Protected Attributes | |
pdfium::span< const UnsignedType > | m_Span |
Definition at line 38 of file string_view_template.h.
using fxcrt::StringViewTemplate< T >::CharType = T |
Definition at line 40 of file string_view_template.h.
using fxcrt::StringViewTemplate< T >::const_iterator = const CharType* |
Definition at line 42 of file string_view_template.h.
using fxcrt::StringViewTemplate< T >::const_reverse_iterator = std::reverse_iterator<const_iterator> |
Definition at line 43 of file string_view_template.h.
using fxcrt::StringViewTemplate< T >::UnsignedType = typename std::make_unsigned<CharType>::type |
Definition at line 41 of file string_view_template.h.
|
constexprdefaultnoexcept |
|
constexprdefaultnoexcept |
|
inlinenoexcept |
Definition at line 51 of file string_view_template.h.
Referenced by fxcrt::StringViewTemplate< char >::StringViewTemplate().
|
inlineexplicitconstexprnoexcept |
Definition at line 57 of file string_view_template.h.
|
inlineexplicitconstexprnoexcept |
Definition at line 66 of file string_view_template.h.
|
inlineconstexprnoexcept |
Definition at line 76 of file string_view_template.h.
Referenced by fxcrt::StringViewTemplate< char >::StringViewTemplate().
|
inlineconstexprnoexcept |
Definition at line 81 of file string_view_template.h.
Referenced by fxcrt::StringViewTemplate< char >::StringViewTemplate().
|
inlineconstexprnoexcept |
Definition at line 89 of file string_view_template.h.
Referenced by fxcrt::StringViewTemplate< char >::StringViewTemplate().
|
inline |
Definition at line 211 of file string_view_template.h.
|
inline |
Definition at line 107 of file string_view_template.h.
Referenced by fxcrt::StringViewTemplate< char >::rend().
|
inline |
Definition at line 201 of file string_view_template.h.
|
inline |
Definition at line 222 of file string_view_template.h.
|
inline |
Definition at line 110 of file string_view_template.h.
Referenced by fxcrt::StringViewTemplate< char >::rbegin().
|
inline |
Definition at line 141 of file string_view_template.h.
|
inline |
Definition at line 154 of file string_view_template.h.
|
inline |
Definition at line 213 of file string_view_template.h.
|
inline |
Definition at line 247 of file string_view_template.h.
|
inline |
Definition at line 207 of file string_view_template.h.
|
inline |
Definition at line 167 of file string_view_template.h.
|
inline |
Definition at line 190 of file string_view_template.h.
|
inline |
Definition at line 133 of file string_view_template.h.
|
inline |
Definition at line 191 of file string_view_template.h.
Referenced by fxcrt::StringViewTemplate< char >::TrimmedRight().
|
inline |
Definition at line 192 of file string_view_template.h.
|
inline |
Definition at line 193 of file string_view_template.h.
|
inline |
Definition at line 251 of file string_view_template.h.
|
inline |
Definition at line 128 of file string_view_template.h.
|
inline |
Definition at line 129 of file string_view_template.h.
|
inline |
Definition at line 272 of file string_view_template.h.
|
inline |
Definition at line 94 of file string_view_template.h.
|
inline |
Definition at line 102 of file string_view_template.h.
|
inline |
Definition at line 124 of file string_view_template.h.
|
inline |
Definition at line 120 of file string_view_template.h.
|
inline |
Definition at line 283 of file string_view_template.h.
|
inline |
Definition at line 196 of file string_view_template.h.
|
inline |
Definition at line 113 of file string_view_template.h.
|
inline |
Definition at line 116 of file string_view_template.h.
|
inline |
Definition at line 180 of file string_view_template.h.
|
inline |
Definition at line 230 of file string_view_template.h.
|
inline |
Definition at line 224 of file string_view_template.h.
|
inline |
Definition at line 257 of file string_view_template.h.
|
inline |
Definition at line 179 of file string_view_template.h.
|
inline |
Definition at line 186 of file string_view_template.h.
|
inline |
Definition at line 183 of file string_view_template.h.
|
protected |
Definition at line 298 of file string_view_template.h.