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
QSet< T >::iterator Class Reference

#include <qset.h>

+ Collaboration diagram for QSet< T >::iterator:

Public Types

typedef std::forward_iterator_tag iterator_category
 
typedef qptrdiff difference_type
 
typedef T value_type
 
typedef const T * pointer
 
typedef const T & reference
 

Public Member Functions

 iterator ()
 
 iterator (typename Hash::iterator o)
 
 iterator (const iterator &o)
 
iteratoroperator= (const iterator &o)
 
const T & operator* () const
 
const T * operator-> () const
 
bool operator== (const iterator &o) const
 
bool operator!= (const iterator &o) const
 
bool operator== (const const_iterator &o) const
 
bool operator!= (const const_iterator &o) const
 
iteratoroperator++ ()
 
iterator operator++ (int)
 

Friends

class const_iterator
 
class QSet< T >
 

Detailed Description

template<class T>
class QSet< T >::iterator

Definition at line 77 of file qset.h.

Member Typedef Documentation

◆ difference_type

template<class T >
typedef qptrdiff QSet< T >::iterator::difference_type

Definition at line 86 of file qset.h.

◆ iterator_category

template<class T >
typedef std::forward_iterator_tag QSet< T >::iterator::iterator_category

Definition at line 85 of file qset.h.

◆ pointer

template<class T >
typedef const T* QSet< T >::iterator::pointer

Definition at line 88 of file qset.h.

◆ reference

template<class T >
typedef const T& QSet< T >::iterator::reference

Definition at line 89 of file qset.h.

◆ value_type

template<class T >
typedef T QSet< T >::iterator::value_type

Definition at line 87 of file qset.h.

Constructor & Destructor Documentation

◆ iterator() [1/3]

template<class T >
QSet< T >::iterator::iterator ( )
inline

Definition at line 91 of file qset.h.

◆ iterator() [2/3]

template<class T >
QSet< T >::iterator::iterator ( typename Hash::iterator o)
inline

Definition at line 92 of file qset.h.

◆ iterator() [3/3]

template<class T >
QSet< T >::iterator::iterator ( const iterator & o)
inline

Definition at line 93 of file qset.h.

Member Function Documentation

◆ operator!=() [1/2]

template<class T >
bool QSet< T >::iterator::operator!= ( const const_iterator & o) const
inline

Definition at line 101 of file qset.h.

References i, and o.

◆ operator!=() [2/2]

template<class T >
bool QSet< T >::iterator::operator!= ( const iterator & o) const
inline

Definition at line 98 of file qset.h.

References i, and o.

◆ operator*()

template<class T >
const T & QSet< T >::iterator::operator* ( ) const
inline

Definition at line 95 of file qset.h.

References i.

◆ operator++() [1/2]

template<class T >
iterator & QSet< T >::iterator::operator++ ( )
inline

Definition at line 103 of file qset.h.

References i.

◆ operator++() [2/2]

template<class T >
iterator QSet< T >::iterator::operator++ ( int )
inline

Definition at line 104 of file qset.h.

References i.

◆ operator->()

template<class T >
const T * QSet< T >::iterator::operator-> ( ) const
inline

Definition at line 96 of file qset.h.

References i.

◆ operator=()

template<class T >
iterator & QSet< T >::iterator::operator= ( const iterator & o)
inline

Definition at line 94 of file qset.h.

References i, and o.

◆ operator==() [1/2]

template<class T >
bool QSet< T >::iterator::operator== ( const const_iterator & o) const
inline

Definition at line 99 of file qset.h.

References i, and o.

◆ operator==() [2/2]

template<class T >
bool QSet< T >::iterator::operator== ( const iterator & o) const
inline

Definition at line 97 of file qset.h.

References i, and o.

Friends And Related Symbol Documentation

◆ const_iterator

template<class T >
friend class const_iterator
friend

Definition at line 81 of file qset.h.

◆ QSet< T >

template<class T >
friend class QSet< T >
friend

Definition at line 81 of file qset.h.


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