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
QStringIterator Class Reference

#include <qstringiterator_p.h>

+ Collaboration diagram for QStringIterator:

Public Member Functions

 QStringIterator (QStringView string, qsizetype idx=0)
 
 QStringIterator (const QChar *begin, const QChar *end)
 
 QStringIterator (const QChar *begin, qsizetype idx, const QChar *end)
 
QString::const_iterator position () const
 
qsizetype index () const
 
void setPosition (QString::const_iterator position)
 
bool hasNext () const
 
void advance ()
 
void advanceUnchecked ()
 
char32_t peekNextUnchecked () const
 
char32_t peekNext (char32_t invalidAs=QChar::ReplacementCharacter) const
 
char32_t nextUnchecked ()
 
char32_t next (char32_t invalidAs=QChar::ReplacementCharacter)
 
bool hasPrevious () const
 
void recede ()
 
void recedeUnchecked ()
 
char32_t peekPreviousUnchecked () const
 
char32_t peekPrevious (char32_t invalidAs=QChar::ReplacementCharacter) const
 
char32_t previousUnchecked ()
 
char32_t previous (char32_t invalidAs=QChar::ReplacementCharacter)
 

Detailed Description

Definition at line 24 of file qstringiterator_p.h.

Constructor & Destructor Documentation

◆ QStringIterator() [1/3]

QStringIterator::QStringIterator ( QStringView string,
qsizetype idx = 0 )
inlineexplicit

Definition at line 31 of file qstringiterator_p.h.

References QStringIterator().

Referenced by QStringIterator().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ QStringIterator() [2/3]

QStringIterator::QStringIterator ( const QChar * begin,
const QChar * end )
inlineexplicit

Definition at line 38 of file qstringiterator_p.h.

References QStringIterator().

Referenced by QStringIterator().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ QStringIterator() [3/3]

QStringIterator::QStringIterator ( const QChar * begin,
qsizetype idx,
const QChar * end )
inlineexplicit

Definition at line 45 of file qstringiterator_p.h.

References QStringIterator().

Referenced by QStringIterator().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Function Documentation

◆ advance()

void QStringIterator::advance ( )
inline

Definition at line 76 of file qstringiterator_p.h.

◆ advanceUnchecked()

void QStringIterator::advanceUnchecked ( )
inline

Definition at line 86 of file qstringiterator_p.h.

◆ hasNext()

bool QStringIterator::hasNext ( ) const
inline

Definition at line 71 of file qstringiterator_p.h.

Referenced by checkCase(), QUnicodeTables::convertCase(), QStringView::isRightToLeft(), QtPrivate::isValidUtf16(), qt_convert_to_ucs4(), stringWidth(), and ucstricmp8().

+ Here is the caller graph for this function:

◆ hasPrevious()

bool QStringIterator::hasPrevious ( ) const
inline

Definition at line 152 of file qstringiterator_p.h.

◆ index()

qsizetype QStringIterator::index ( ) const
inline

Definition at line 57 of file qstringiterator_p.h.

◆ next()

char32_t QStringIterator::next ( char32_t invalidAs = QChar::ReplacementCharacter)
inline

Definition at line 136 of file qstringiterator_p.h.

Referenced by checkCase(), QUnicodeTables::convertCase(), QStringView::isRightToLeft(), QtPrivate::isValidUtf16(), qt_convert_to_ucs4(), and stringWidth().

+ Here is the caller graph for this function:

◆ nextUnchecked()

char32_t QStringIterator::nextUnchecked ( )
inline

Definition at line 124 of file qstringiterator_p.h.

◆ peekNext()

char32_t QStringIterator::peekNext ( char32_t invalidAs = QChar::ReplacementCharacter) const
inline

Definition at line 108 of file qstringiterator_p.h.

◆ peekNextUnchecked()

char32_t QStringIterator::peekNextUnchecked ( ) const
inline

Definition at line 96 of file qstringiterator_p.h.

◆ peekPrevious()

char32_t QStringIterator::peekPrevious ( char32_t invalidAs = QChar::ReplacementCharacter) const
inline

Definition at line 189 of file qstringiterator_p.h.

◆ peekPreviousUnchecked()

char32_t QStringIterator::peekPreviousUnchecked ( ) const
inline

Definition at line 178 of file qstringiterator_p.h.

◆ position()

QString::const_iterator QStringIterator::position ( ) const
inline

Definition at line 52 of file qstringiterator_p.h.

◆ previous()

char32_t QStringIterator::previous ( char32_t invalidAs = QChar::ReplacementCharacter)
inline

Definition at line 217 of file qstringiterator_p.h.

◆ previousUnchecked()

char32_t QStringIterator::previousUnchecked ( )
inline

Definition at line 205 of file qstringiterator_p.h.

◆ recede()

void QStringIterator::recede ( )
inline

Definition at line 157 of file qstringiterator_p.h.

Referenced by QUnicodeTables::convertCase().

+ Here is the caller graph for this function:

◆ recedeUnchecked()

void QStringIterator::recedeUnchecked ( )
inline

Definition at line 168 of file qstringiterator_p.h.

◆ setPosition()

void QStringIterator::setPosition ( QString::const_iterator position)
inline

Definition at line 62 of file qstringiterator_p.h.


The documentation for this class was generated from the following file: