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
QQmlJS::Dom::PathIterator Class Reference

#include <qqmldompath_p.h>

Collaboration diagram for QQmlJS::Dom::PathIterator:

Public Types

using difference_type = qsizetype
using value_type = Path
using pointer = void
using reference = Path
using iterator_category = std::random_access_iterator_tag

Public Member Functions

 PathIterator ()=default
 PathIterator (const Path &pathpath)
Path operator* () const
Path operator[] (difference_type nn) const
PathIterator & operator++ ()
PathIterator operator++ (int)
PathIterator & operator-- ()
PathIterator operator-- (int)
PathIterator & operator+= (difference_type nn)
PathIterator & operator-= (difference_type nn)

Friends

PathIterator operator+ (PathIterator it, difference_type nn)
PathIterator operator+ (difference_type nn, PathIterator it)
PathIterator operator- (PathIterator it, difference_type nn)
difference_type operator- (const PathIterator &aa, const PathIterator &bb)
difference_type operator- (PathSentinel, const PathIterator &it)
difference_type operator- (const PathIterator &it, PathSentinel)
bool comparesEqual (const PathIterator &aa, const PathIterator &bb) noexcept
Qt::strong_ordering compareThreeWay (const PathIterator &aa, const PathIterator &bb) noexcept
bool comparesEqual (const PathIterator &it, PathSentinel) noexcept
Qt::strong_ordering compareThreeWay (const PathIterator &it, PathSentinel) noexcept

Detailed Description

Definition at line 675 of file qqmldompath_p.h.

Member Typedef Documentation

◆ difference_type

◆ iterator_category

using QQmlJS::Dom::PathIterator::iterator_category = std::random_access_iterator_tag

Definition at line 681 of file qqmldompath_p.h.

◆ pointer

Definition at line 679 of file qqmldompath_p.h.

◆ reference

Definition at line 680 of file qqmldompath_p.h.

◆ value_type

Definition at line 678 of file qqmldompath_p.h.

Constructor & Destructor Documentation

◆ PathIterator() [1/2]

QQmlJS::Dom::PathIterator::PathIterator ( )
default

◆ PathIterator() [2/2]

QQmlJS::Dom::PathIterator::PathIterator ( const Path & path)
inlineexplicit

Definition at line 684 of file qqmldompath_p.h.

Referenced by QQmlJS::Dom::Path::begin().

Here is the caller graph for this function:

Member Function Documentation

◆ operator*()

Path QQmlJS::Dom::PathIterator::operator* ( ) const
inline

Definition at line 686 of file qqmldompath_p.h.

References operator[]().

Here is the call graph for this function:

◆ operator++() [1/2]

PathIterator & QQmlJS::Dom::PathIterator::operator++ ( )
inline

Definition at line 692 of file qqmldompath_p.h.

◆ operator++() [2/2]

PathIterator QQmlJS::Dom::PathIterator::operator++ ( int )
inline

Definition at line 693 of file qqmldompath_p.h.

◆ operator+=()

PathIterator & QQmlJS::Dom::PathIterator::operator+= ( difference_type n)
inline

Definition at line 696 of file qqmldompath_p.h.

◆ operator--() [1/2]

PathIterator & QQmlJS::Dom::PathIterator::operator-- ( )
inline

Definition at line 694 of file qqmldompath_p.h.

◆ operator--() [2/2]

PathIterator QQmlJS::Dom::PathIterator::operator-- ( int )
inline

Definition at line 695 of file qqmldompath_p.h.

◆ operator-=()

PathIterator & QQmlJS::Dom::PathIterator::operator-= ( difference_type n)
inline

Definition at line 697 of file qqmldompath_p.h.

◆ operator[]()

Path QQmlJS::Dom::PathIterator::operator[] ( difference_type n) const
inline

Definition at line 687 of file qqmldompath_p.h.

Referenced by operator*(), and QQmlJS::Dom::DomItem::resolve().

Here is the caller graph for this function:

◆ comparesEqual [1/2]

bool comparesEqual ( const PathIterator & a,
const PathIterator & b )
friend

Definition at line 715 of file qqmldompath_p.h.

◆ comparesEqual [2/2]

bool comparesEqual ( const PathIterator & it,
PathSentinel  )
friend

Definition at line 725 of file qqmldompath_p.h.

◆ compareThreeWay [1/2]

Qt::strong_ordering compareThreeWay ( const PathIterator & a,
const PathIterator & b )
friend

Definition at line 719 of file qqmldompath_p.h.

◆ compareThreeWay [2/2]

Qt::strong_ordering compareThreeWay ( const PathIterator & it,
PathSentinel  )
friend

Definition at line 729 of file qqmldompath_p.h.

◆ operator+ [1/2]

PathIterator operator+ ( difference_type n,
PathIterator it )
friend

Definition at line 699 of file qqmldompath_p.h.

◆ operator+ [2/2]

PathIterator operator+ ( PathIterator it,
difference_type n )
friend

Definition at line 698 of file qqmldompath_p.h.

◆ operator- [1/4]

difference_type operator- ( const PathIterator & a,
const PathIterator & b )
friend

Definition at line 701 of file qqmldompath_p.h.

◆ operator- [2/4]

difference_type operator- ( const PathIterator & it,
PathSentinel  )
friend

Definition at line 709 of file qqmldompath_p.h.

◆ operator- [3/4]

PathIterator operator- ( PathIterator it,
difference_type n )
friend

Definition at line 700 of file qqmldompath_p.h.

◆ operator- [4/4]

difference_type operator- ( PathSentinel ,
const PathIterator & it )
friend

Definition at line 705 of file qqmldompath_p.h.


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