Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qstringtokenizer.h File Reference

(e0d93ed4908391c156f5f0f91eaef67f730f59bd)

#include <QtCore/qnamespace.h>
#include <QtCore/qcontainerfwd.h>
#include <iterator>
#include <QtCore/qstringview.h>
+ Include dependency graph for qstringtokenizer.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  QStringTokenizerBaseBase
 
struct  QStringTokenizerBaseBase::tokenizer_state
 
class  QStringTokenizerBase< Haystack, Needle >
 
class  QStringTokenizerBase< Haystack, Needle >::sentinel
 
class  QStringTokenizerBase< Haystack, Needle >::iterator
 
struct  QtPrivate::Tok::ViewForImpl< String >
 
struct  QtPrivate::Tok::ViewForImpl< QStringView >
 
struct  QtPrivate::Tok::ViewForImpl< QLatin1StringView >
 
struct  QtPrivate::Tok::ViewForImpl< QChar >
 
struct  QtPrivate::Tok::ViewForImpl< QString >
 
struct  QtPrivate::Tok::ViewForImpl< QLatin1Char >
 
struct  QtPrivate::Tok::ViewForImpl< char16_t >
 
struct  QtPrivate::Tok::ViewForImpl< char16_t * >
 
struct  QtPrivate::Tok::ViewForImpl< const char16_t * >
 
struct  QtPrivate::Tok::ViewForImpl< QStringBuilder< LHS, RHS > >
 
struct  QtPrivate::Tok::ViewForImpl< std::basic_string< Char, Args... > >
 
struct  QtPrivate::Tok::PinForImpl< String >
 
struct  QtPrivate::Tok::PinForImpl< QString >
 
struct  QtPrivate::Tok::PinForImpl< std::basic_string< Char, Args... > >
 
struct  QtPrivate::Tok::PinForImpl< QStringBuilder< LHS, RHS > >
 
struct  QtPrivate::Tok::is_owning_string_type< T >
 
struct  QtPrivate::Tok::is_owning_string_type< QString >
 
struct  QtPrivate::Tok::is_owning_string_type< std::basic_string< Args... > >
 
struct  QtPrivate::Tok::Pinning< T, pinned >
 
struct  QtPrivate::Tok::Pinning< T, true >
 
struct  QtPrivate::Tok::NeedlePinning< T >
 
struct  QtPrivate::Tok::HaystackPinning< T >
 
class  QStringTokenizer< Haystack, Needle >
 \inmodule QtCore More...
 

Namespaces

namespace  QtPrivate
 \macro QT_NO_KEYWORDS >
 
namespace  QtPrivate::Tok
 

Macros

#define Q_TOK_RESULT
 

Typedefs

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

Functions

constexpr qsizetype QtPrivate::Tok::size (QChar) noexcept
 
template<typename String >
constexpr qsizetype QtPrivate::Tok::size (const String &s) noexcept
 
template<typename Haystack , typename Needle , typename... Flags>
constexpr auto qTokenize (Haystack &&h, Needle &&n, Flags...flags) noexcept(QtPrivate::Tok::is_nothrow_constructible_from< Haystack, Needle >::value) -> decltype(QtPrivate::Tok::TokenizerResult< Haystack, Needle >{std::forward< Haystack >(h), std::forward< Needle >(n), flags...})
 

Macro Definition Documentation

◆ Q_TOK_RESULT

#define Q_TOK_RESULT
Value:
> \
/*end*/
\inmodule QtCore
typename PinForImpl< typename std::remove_cv< StringLike >::type >::type PinFor

Definition at line 331 of file qstringtokenizer.h.

Function Documentation

◆ qTokenize()

template<typename Haystack , typename Needle , typename... Flags>
auto qTokenize ( Haystack && h,
Needle && n,
Flags... flags ) -> decltype(QtPrivate::Tok::TokenizerResult<Haystack, Needle>{std::forward<Haystack>(h), std::forward<Needle>(n), flags...})
related

Definition at line 368 of file qstringtokenizer.h.

Referenced by QStringTokenizer< Haystack, Needle >::qTokenize().

+ Here is the caller graph for this function: