Support Forum       G3D Web Page     
Public Member Functions | Friends | List of all members
G3D::Set< T, HashFunc, EqualsFunc >::Iterator Class Reference


C++ STL style iterator variable. More...

Public Member Functions

bool hasMore () const
 
bool isValid () const
 
 operator T* () const
 
bool operator!= (const Iterator &other) const
 
const T & operator* () const
 
Iteratoroperator++ ()
 
Pre increment. More...
 
Iterator operator++ (int)
 
Post increment (slower than preincrement). More...
 
T * operator-> () const
 
bool operator== (const Iterator &other) const
 

Friends

class Set< T >
 

Detailed Description

template<class T, class HashFunc = HashTrait<T>, class EqualsFunc = EqualsTrait<T>>
class G3D::Set< T, HashFunc, EqualsFunc >::Iterator


C++ STL style iterator variable.

See begin().

Member Function Documentation

◆ hasMore()

template<class T, class HashFunc = HashTrait<T>, class EqualsFunc = EqualsTrait<T>>
bool G3D::Set< T, HashFunc, EqualsFunc >::Iterator::hasMore ( ) const
inline
Deprecated:
Use isValid

◆ isValid()

template<class T, class HashFunc = HashTrait<T>, class EqualsFunc = EqualsTrait<T>>
bool G3D::Set< T, HashFunc, EqualsFunc >::Iterator::isValid ( ) const
inline

◆ operator T*()

template<class T, class HashFunc = HashTrait<T>, class EqualsFunc = EqualsTrait<T>>
G3D::Set< T, HashFunc, EqualsFunc >::Iterator::operator T* ( ) const
inline

◆ operator!=()

template<class T, class HashFunc = HashTrait<T>, class EqualsFunc = EqualsTrait<T>>
bool G3D::Set< T, HashFunc, EqualsFunc >::Iterator::operator!= ( const Iterator other) const
inline

◆ operator*()

template<class T, class HashFunc = HashTrait<T>, class EqualsFunc = EqualsTrait<T>>
const T& G3D::Set< T, HashFunc, EqualsFunc >::Iterator::operator* ( ) const
inline

◆ operator++() [1/2]

template<class T, class HashFunc = HashTrait<T>, class EqualsFunc = EqualsTrait<T>>
Iterator& G3D::Set< T, HashFunc, EqualsFunc >::Iterator::operator++ ( )
inline


Pre increment.

◆ operator++() [2/2]

template<class T, class HashFunc = HashTrait<T>, class EqualsFunc = EqualsTrait<T>>
Iterator G3D::Set< T, HashFunc, EqualsFunc >::Iterator::operator++ ( int  )
inline


Post increment (slower than preincrement).

◆ operator->()

template<class T, class HashFunc = HashTrait<T>, class EqualsFunc = EqualsTrait<T>>
T* G3D::Set< T, HashFunc, EqualsFunc >::Iterator::operator-> ( ) const
inline

◆ operator==()

template<class T, class HashFunc = HashTrait<T>, class EqualsFunc = EqualsTrait<T>>
bool G3D::Set< T, HashFunc, EqualsFunc >::Iterator::operator== ( const Iterator other) const
inline

Friends And Related Function Documentation

◆ Set< T >

template<class T, class HashFunc = HashTrait<T>, class EqualsFunc = EqualsTrait<T>>
friend class Set< T >
friend

documentation generated on Wed Nov 24 2021 08:02:00 using doxygen 1.8.15