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 25 of file qstringiterator_p.h.

Constructor & Destructor Documentation

◆ QStringIterator() [1/3]

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

Definition at line 32 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 39 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 46 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 77 of file qstringiterator_p.h.

◆ advanceUnchecked()

void QStringIterator::advanceUnchecked ( )
inline

Definition at line 87 of file qstringiterator_p.h.

◆ hasNext()

bool QStringIterator::hasNext ( ) const
inline

Definition at line 72 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 153 of file qstringiterator_p.h.

◆ index()

qsizetype QStringIterator::index ( ) const
inline

Definition at line 58 of file qstringiterator_p.h.

◆ next()

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

Definition at line 137 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 125 of file qstringiterator_p.h.

◆ peekNext()

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

Definition at line 109 of file qstringiterator_p.h.

◆ peekNextUnchecked()

char32_t QStringIterator::peekNextUnchecked ( ) const
inline

Definition at line 97 of file qstringiterator_p.h.

◆ peekPrevious()

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

Definition at line 190 of file qstringiterator_p.h.

◆ peekPreviousUnchecked()

char32_t QStringIterator::peekPreviousUnchecked ( ) const
inline

Definition at line 179 of file qstringiterator_p.h.

◆ position()

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

Definition at line 53 of file qstringiterator_p.h.

◆ previous()

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

Definition at line 218 of file qstringiterator_p.h.

◆ previousUnchecked()

char32_t QStringIterator::previousUnchecked ( )
inline

Definition at line 206 of file qstringiterator_p.h.

◆ recede()

void QStringIterator::recede ( )
inline

Definition at line 158 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 169 of file qstringiterator_p.h.

◆ setPosition()

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

Definition at line 63 of file qstringiterator_p.h.


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