Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QtPrivate::Tok Namespace Reference

Classes

struct  HaystackPinning
 
struct  is_owning_string_type
 
struct  is_owning_string_type< QString >
 
struct  is_owning_string_type< std::basic_string< Args... > >
 
struct  NeedlePinning
 
struct  PinForImpl
 
struct  PinForImpl< QString >
 
struct  PinForImpl< QStringBuilder< LHS, RHS > >
 
struct  PinForImpl< std::basic_string< Char, Args... > >
 
struct  Pinning
 
struct  Pinning< T, true >
 
struct  ViewForImpl
 
struct  ViewForImpl< char16_t * >
 
struct  ViewForImpl< char16_t >
 
struct  ViewForImpl< const char16_t * >
 
struct  ViewForImpl< QChar >
 
struct  ViewForImpl< QLatin1Char >
 
struct  ViewForImpl< QLatin1StringView >
 
struct  ViewForImpl< QString >
 
struct  ViewForImpl< QStringBuilder< LHS, RHS > >
 
struct  ViewForImpl< QStringView >
 
struct  ViewForImpl< std::basic_string< Char, Args... > >
 

Typedefs

template<typename String >
using ViewFor = typename ViewForImpl<typename std::decay<String>::type>::type
 
template<typename StringLike >
using PinFor = typename PinForImpl<typename std::remove_cv<StringLike>::type>::type
 
template<typename Haystack , typename Needle >
using TokenizerBase = QStringTokenizerBase<ViewFor<Haystack>, ViewFor<Needle>>
 
template<typename Haystack , typename Needle >
using TokenizerResult = Q_TOK_RESULT
 
template<typename Haystack , typename Needle >
using is_nothrow_constructible_from = std::is_nothrow_copy_constructible<TokenizerResult<Haystack, Needle>>
 

Functions

constexpr qsizetype size (QChar) noexcept
 
template<typename String >
constexpr qsizetype size (const String &s) noexcept
 

Typedef Documentation

◆ is_nothrow_constructible_from

template<typename Haystack , typename Needle >
using QtPrivate::Tok::is_nothrow_constructible_from = std::is_nothrow_copy_constructible<TokenizerResult<Haystack, Needle>>

Definition at line 354 of file qstringtokenizer.h.

◆ PinFor

template<typename StringLike >
using QtPrivate::Tok::PinFor = typename PinForImpl<typename std::remove_cv<StringLike>::type>::type

Definition at line 183 of file qstringtokenizer.h.

◆ TokenizerBase

template<typename Haystack , typename Needle >
using QtPrivate::Tok::TokenizerBase = QStringTokenizerBase<ViewFor<Haystack>, ViewFor<Needle>>

Definition at line 241 of file qstringtokenizer.h.

◆ TokenizerResult

template<typename Haystack , typename Needle >
using QtPrivate::Tok::TokenizerResult = Q_TOK_RESULT

Definition at line 352 of file qstringtokenizer.h.

◆ ViewFor

template<typename String >
using QtPrivate::Tok::ViewFor = typename ViewForImpl<typename std::decay<String>::type>::type

Definition at line 157 of file qstringtokenizer.h.

Function Documentation

◆ size() [1/2]

template<typename String >
constexpr qsizetype QtPrivate::Tok::size ( const String & s)
constexprnoexcept

Definition at line 132 of file qstringtokenizer.h.

◆ size() [2/2]

constexpr qsizetype QtPrivate::Tok::size ( QChar )
constexprnoexcept

Definition at line 130 of file qstringtokenizer.h.