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 CharType *ptr, size_t size) noexcept |
template<typename E = typename std::enable_if< !std::is_same<UnsignedType, CharType>::value>::type> | |
constexpr | StringViewTemplate (const UnsignedType *ptr, size_t size) 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 |
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 > | raw_span () const |
pdfium::span< const CharType > | span () const |
const UnsignedType * | raw_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 |
UnsignedType | Front () const |
UnsignedType | Back () const |
CharType | CharAt (const size_t index) const |
absl::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 35 of file string_view_template.h.
using fxcrt::StringViewTemplate< T >::CharType = T |
Definition at line 37 of file string_view_template.h.
using fxcrt::StringViewTemplate< T >::const_iterator = const CharType* |
Definition at line 39 of file string_view_template.h.
using fxcrt::StringViewTemplate< T >::const_reverse_iterator = std::reverse_iterator<const_iterator> |
Definition at line 40 of file string_view_template.h.
using fxcrt::StringViewTemplate< T >::UnsignedType = typename std::make_unsigned<CharType>::type |
Definition at line 38 of file string_view_template.h.
|
constexprdefaultnoexcept |
|
constexprdefaultnoexcept |
|
inlinenoexcept |
Definition at line 48 of file string_view_template.h.
References fxcrt::StringViewTemplate< T >::StringViewTemplate().
Referenced by fxcrt::StringViewTemplate< T >::StringViewTemplate().
|
inlineconstexprnoexcept |
Definition at line 52 of file string_view_template.h.
References fxcrt::StringViewTemplate< T >::m_Span.
|
inlineconstexprnoexcept |
Definition at line 57 of file string_view_template.h.
References fxcrt::StringViewTemplate< T >::m_Span.
|
inlineexplicitconstexprnoexcept |
Definition at line 60 of file string_view_template.h.
References fxcrt::StringViewTemplate< T >::m_Span.
|
inlineconstexprnoexcept |
Definition at line 69 of file string_view_template.h.
References fxcrt::StringViewTemplate< T >::m_Span.
|
inlineconstexprnoexcept |
Definition at line 76 of file string_view_template.h.
References fxcrt::StringViewTemplate< T >::m_Span.
|
inline |
Definition at line 182 of file string_view_template.h.
References fxcrt::StringViewTemplate< T >::m_Span.
|
inline |
Definition at line 90 of file string_view_template.h.
References fxcrt::StringViewTemplate< T >::m_Span.
Referenced by fxcrt::StringViewTemplate< T >::rend().
|
inline |
Definition at line 186 of file string_view_template.h.
References fxcrt::StringViewTemplate< T >::m_Span.
|
inline |
Definition at line 198 of file string_view_template.h.
|
inline |
Definition at line 93 of file string_view_template.h.
References fxcrt::StringViewTemplate< T >::m_Span.
Referenced by fxcrt::StringViewTemplate< T >::rbegin().
|
inline |
Definition at line 124 of file string_view_template.h.
|
inline |
Definition at line 137 of file string_view_template.h.
|
inline |
Definition at line 190 of file string_view_template.h.
|
inline |
Definition at line 222 of file string_view_template.h.
|
inline |
Definition at line 181 of file string_view_template.h.
References fxcrt::StringViewTemplate< T >::m_Span.
|
inline |
Definition at line 150 of file string_view_template.h.
References fxcrt::StringViewTemplate< T >::m_Span.
|
inline |
Definition at line 172 of file string_view_template.h.
References fxcrt::StringViewTemplate< T >::m_Span.
|
inline |
Definition at line 116 of file string_view_template.h.
|
inline |
Definition at line 173 of file string_view_template.h.
References fxcrt::StringViewTemplate< T >::m_Span.
Referenced by fxcrt::StringViewTemplate< T >::TrimmedRight().
|
inline |
Definition at line 174 of file string_view_template.h.
References fxcrt::StringViewTemplate< T >::m_Span.
|
inline |
Definition at line 175 of file string_view_template.h.
References fxcrt::StringViewTemplate< T >::m_Span.
|
inline |
Definition at line 226 of file string_view_template.h.
|
inline |
Definition at line 111 of file string_view_template.h.
|
inline |
Definition at line 112 of file string_view_template.h.
|
inline |
Definition at line 246 of file string_view_template.h.
References fxcrt::StringViewTemplate< T >::m_Span.
|
inline |
Definition at line 79 of file string_view_template.h.
|
inline |
Definition at line 85 of file string_view_template.h.
References fxcrt::StringViewTemplate< T >::m_Span.
|
inline |
Definition at line 107 of file string_view_template.h.
|
inline |
Definition at line 103 of file string_view_template.h.
References fxcrt::StringViewTemplate< T >::m_Span.
|
inline |
Definition at line 254 of file string_view_template.h.
References fxcrt::StringViewTemplate< T >::m_Span.
|
inline |
Definition at line 177 of file string_view_template.h.
References fxcrt::StringViewTemplate< T >::m_Span.
|
inline |
Definition at line 162 of file string_view_template.h.
References fxcrt::StringViewTemplate< T >::m_Span.
|
inline |
Definition at line 167 of file string_view_template.h.
References fxcrt::StringViewTemplate< T >::m_Span.
|
inline |
Definition at line 96 of file string_view_template.h.
References fxcrt::StringViewTemplate< T >::end().
|
inline |
Definition at line 99 of file string_view_template.h.
References fxcrt::StringViewTemplate< T >::begin().
|
inline |
Definition at line 163 of file string_view_template.h.
References fxcrt::StringViewTemplate< T >::m_Span.
|
inline |
Definition at line 206 of file string_view_template.h.
References fxcrt::StringViewTemplate< T >::m_Span.
|
inline |
Definition at line 200 of file string_view_template.h.
|
inline |
Definition at line 232 of file string_view_template.h.
References fxcrt::StringViewTemplate< T >::IsEmpty(), and fxcrt::StringViewTemplate< T >::m_Span.
|
inline |
Definition at line 168 of file string_view_template.h.
References fxcrt::StringViewTemplate< T >::m_Span.
|
protected |
Definition at line 263 of file string_view_template.h.
Referenced by fxcrt::StringViewTemplate< T >::StringViewTemplate(), fxcrt::StringViewTemplate< T >::StringViewTemplate(), fxcrt::StringViewTemplate< T >::StringViewTemplate(), fxcrt::StringViewTemplate< T >::StringViewTemplate(), fxcrt::StringViewTemplate< T >::StringViewTemplate(), fxcrt::StringViewTemplate< T >::Back(), fxcrt::StringViewTemplate< T >::begin(), fxcrt::StringViewTemplate< T >::CharAt(), fxcrt::StringViewTemplate< T >::end(), fxcrt::StringViewTemplate< T >::Front(), fxcrt::StringViewTemplate< T >::GetID(), fxcrt::StringViewTemplate< T >::GetLength(), fxcrt::StringViewTemplate< T >::IsEmpty(), fxcrt::StringViewTemplate< T >::IsValidIndex(), fxcrt::StringViewTemplate< T >::IsValidLength(), fxcrt::StringViewTemplate< T >::operator<(), fxcrt::StringViewTemplate< T >::operator=(), fxcrt::StringViewTemplate< T >::operator==(), fxcrt::StringViewTemplate< T >::operator>(), fxcrt::StringViewTemplate< T >::operator[](), fxcrt::StringViewTemplate< T >::raw_span(), fxcrt::StringViewTemplate< T >::raw_str(), fxcrt::StringViewTemplate< T >::span(), fxcrt::StringViewTemplate< T >::Substr(), fxcrt::StringViewTemplate< T >::TrimmedRight(), and fxcrt::StringViewTemplate< T >::unterminated_c_str().