HOG2
Public Member Functions | Protected Attributes | List of all members
fssIterator< T > Class Template Reference

#include <FixedSizeSet.h>

Public Member Functions

 fssIterator (T *ptr=nullptr)
 
 fssIterator (const fssIterator< T > &rawIterator)=default
 
 ~fssIterator ()
 
fssIterator< T > & operator= (const fssIterator< T > &rawIterator)=default
 
fssIterator< T > & operator= (T *ptr)
 
 operator bool () const
 
bool operator== (const fssIterator< T > &rawIterator) const
 
bool operator!= (const fssIterator< T > &rawIterator) const
 
fssIterator< T > & operator+= (const ptrdiff_t &movement)
 
fssIterator< T > & operator-= (const ptrdiff_t &movement)
 
fssIterator< T > & operator++ ()
 
fssIterator< T > & operator-- ()
 
fssIterator< T > operator++ (int)
 
fssIterator< T > operator-- (int)
 
fssIterator< T > operator+ (const ptrdiff_t &movement)
 
fssIterator< T > operator- (const ptrdiff_t &movement)
 
ptrdiff_t operator- (const fssIterator< T > &rawIterator)
 
T & operator* ()
 
const T & operator* () const
 
T * operator-> ()
 
T * getPtr () const
 
const T * getConstPtr () const
 

Protected Attributes

T * m_ptr
 

Detailed Description

template<typename T>
class fssIterator< T >

Definition at line 16 of file FixedSizeSet.h.

Constructor & Destructor Documentation

◆ fssIterator() [1/2]

template<typename T >
fssIterator< T >::fssIterator ( T *  ptr = nullptr)
inline

Definition at line 204 of file FixedSizeSet.h.

References fssIterator< T >::m_ptr.

◆ fssIterator() [2/2]

template<typename T >
fssIterator< T >::fssIterator ( const fssIterator< T > &  rawIterator)
default

◆ ~fssIterator()

template<typename T >
fssIterator< T >::~fssIterator ( )
inline

Definition at line 206 of file FixedSizeSet.h.

Member Function Documentation

◆ getConstPtr()

template<typename T >
const T* fssIterator< T >::getConstPtr ( ) const
inline

◆ getPtr()

template<typename T >
T* fssIterator< T >::getPtr ( ) const
inline

Definition at line 234 of file FixedSizeSet.h.

References fssIterator< T >::m_ptr.

Referenced by fssIterator< T >::operator-().

◆ operator bool()

template<typename T >
fssIterator< T >::operator bool ( ) const
inline

Definition at line 211 of file FixedSizeSet.h.

References fssIterator< T >::m_ptr.

◆ operator!=()

template<typename T >
bool fssIterator< T >::operator!= ( const fssIterator< T > &  rawIterator) const
inline

Definition at line 220 of file FixedSizeSet.h.

References fssIterator< T >::getConstPtr(), and fssIterator< T >::m_ptr.

◆ operator*() [1/2]

template<typename T >
T& fssIterator< T >::operator* ( )
inline

Definition at line 231 of file FixedSizeSet.h.

References fssIterator< T >::m_ptr.

◆ operator*() [2/2]

template<typename T >
const T& fssIterator< T >::operator* ( ) const
inline

Definition at line 232 of file FixedSizeSet.h.

References fssIterator< T >::m_ptr.

◆ operator+()

template<typename T >
fssIterator<T> fssIterator< T >::operator+ ( const ptrdiff_t &  movement)
inline

Definition at line 227 of file FixedSizeSet.h.

References fssIterator< T >::m_ptr.

◆ operator++() [1/2]

template<typename T >
fssIterator<T>& fssIterator< T >::operator++ ( )
inline

Definition at line 223 of file FixedSizeSet.h.

References fssIterator< T >::m_ptr.

◆ operator++() [2/2]

template<typename T >
fssIterator<T> fssIterator< T >::operator++ ( int  )
inline

Definition at line 225 of file FixedSizeSet.h.

References fssIterator< T >::m_ptr.

◆ operator+=()

template<typename T >
fssIterator<T>& fssIterator< T >::operator+= ( const ptrdiff_t &  movement)
inline

Definition at line 221 of file FixedSizeSet.h.

References fssIterator< T >::m_ptr.

◆ operator-() [1/2]

template<typename T >
ptrdiff_t fssIterator< T >::operator- ( const fssIterator< T > &  rawIterator)
inline

Definition at line 230 of file FixedSizeSet.h.

References fssIterator< T >::getPtr().

◆ operator-() [2/2]

template<typename T >
fssIterator<T> fssIterator< T >::operator- ( const ptrdiff_t &  movement)
inline

Definition at line 228 of file FixedSizeSet.h.

References fssIterator< T >::m_ptr.

◆ operator--() [1/2]

template<typename T >
fssIterator<T>& fssIterator< T >::operator-- ( )
inline

Definition at line 224 of file FixedSizeSet.h.

References fssIterator< T >::m_ptr.

◆ operator--() [2/2]

template<typename T >
fssIterator<T> fssIterator< T >::operator-- ( int  )
inline

Definition at line 226 of file FixedSizeSet.h.

References fssIterator< T >::m_ptr.

◆ operator-=()

template<typename T >
fssIterator<T>& fssIterator< T >::operator-= ( const ptrdiff_t &  movement)
inline

Definition at line 222 of file FixedSizeSet.h.

References fssIterator< T >::m_ptr.

◆ operator->()

template<typename T >
T* fssIterator< T >::operator-> ( )
inline

Definition at line 233 of file FixedSizeSet.h.

References fssIterator< T >::m_ptr.

◆ operator=() [1/2]

template<typename T >
fssIterator<T>& fssIterator< T >::operator= ( const fssIterator< T > &  rawIterator)
default

◆ operator=() [2/2]

template<typename T >
fssIterator<T>& fssIterator< T >::operator= ( T *  ptr)
inline

Definition at line 209 of file FixedSizeSet.h.

References fssIterator< T >::m_ptr.

◆ operator==()

template<typename T >
bool fssIterator< T >::operator== ( const fssIterator< T > &  rawIterator) const
inline

Definition at line 219 of file FixedSizeSet.h.

References fssIterator< T >::getConstPtr(), and fssIterator< T >::m_ptr.

Member Data Documentation

◆ m_ptr

template<typename T >
T* fssIterator< T >::m_ptr
protected

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