argos::CSetIterator< CONTAINED_TYPE, REFERENCED_TYPE > Class Template Reference

The CSet iterator. More...

#include <set.h>

Collaboration diagram for argos::CSetIterator< CONTAINED_TYPE, REFERENCED_TYPE >:

Public Types

typedef std::forward_iterator_tag iterator_category
 
typedef REFERENCED_TYPE value_type
 
typedef std::ptrdiff_t difference_type
 
typedef REFERENCED_TYPE & reference
 
typedef REFERENCED_TYPE * pointer
 

Public Member Functions

 CSetIterator (SSetElement< CONTAINED_TYPE > *ps_elem=NULL)
 
 CSetIterator (const CSetIterator &c_it)
 
CSetIteratoroperator= (const CSetIterator &c_it)
 
reference operator* ()
 
pointer operator-> ()
 
CSetIteratoroperator++ ()
 
bool operator== (const CSetIterator &c_it)
 
bool operator!= (const CSetIterator &c_it)
 

Public Attributes

SSetElement< CONTAINED_TYPE > * m_psElem
 

Detailed Description

template<class CONTAINED_TYPE, class REFERENCED_TYPE>
class argos::CSetIterator< CONTAINED_TYPE, REFERENCED_TYPE >

The CSet iterator.

See also
CSet
SSetElement

Definition at line 39 of file set.h.

Member Typedef Documentation

◆ difference_type

template<class CONTAINED_TYPE , class REFERENCED_TYPE >
typedef std::ptrdiff_t argos::CSetIterator< CONTAINED_TYPE, REFERENCED_TYPE >::difference_type

Definition at line 45 of file set.h.

◆ iterator_category

template<class CONTAINED_TYPE , class REFERENCED_TYPE >
typedef std::forward_iterator_tag argos::CSetIterator< CONTAINED_TYPE, REFERENCED_TYPE >::iterator_category

Definition at line 43 of file set.h.

◆ pointer

template<class CONTAINED_TYPE , class REFERENCED_TYPE >
typedef REFERENCED_TYPE* argos::CSetIterator< CONTAINED_TYPE, REFERENCED_TYPE >::pointer

Definition at line 47 of file set.h.

◆ reference

template<class CONTAINED_TYPE , class REFERENCED_TYPE >
typedef REFERENCED_TYPE& argos::CSetIterator< CONTAINED_TYPE, REFERENCED_TYPE >::reference

Definition at line 46 of file set.h.

◆ value_type

template<class CONTAINED_TYPE , class REFERENCED_TYPE >
typedef REFERENCED_TYPE argos::CSetIterator< CONTAINED_TYPE, REFERENCED_TYPE >::value_type

Definition at line 44 of file set.h.

Constructor & Destructor Documentation

◆ CSetIterator() [1/2]

template<class CONTAINED_TYPE , class REFERENCED_TYPE >
argos::CSetIterator< CONTAINED_TYPE, REFERENCED_TYPE >::CSetIterator ( SSetElement< CONTAINED_TYPE > *  ps_elem = NULL)
inline

Definition at line 51 of file set.h.

◆ CSetIterator() [2/2]

template<class CONTAINED_TYPE , class REFERENCED_TYPE >
argos::CSetIterator< CONTAINED_TYPE, REFERENCED_TYPE >::CSetIterator ( const CSetIterator< CONTAINED_TYPE, REFERENCED_TYPE > &  c_it)
inline

Definition at line 54 of file set.h.

Member Function Documentation

◆ operator!=()

template<class CONTAINED_TYPE , class REFERENCED_TYPE >
bool argos::CSetIterator< CONTAINED_TYPE, REFERENCED_TYPE >::operator!= ( const CSetIterator< CONTAINED_TYPE, REFERENCED_TYPE > &  c_it)
inline

Definition at line 81 of file set.h.

◆ operator*()

template<class CONTAINED_TYPE , class REFERENCED_TYPE >
reference argos::CSetIterator< CONTAINED_TYPE, REFERENCED_TYPE >::operator* ( )
inline

Definition at line 64 of file set.h.

◆ operator++()

template<class CONTAINED_TYPE , class REFERENCED_TYPE >
CSetIterator& argos::CSetIterator< CONTAINED_TYPE, REFERENCED_TYPE >::operator++ ( )
inline

Definition at line 72 of file set.h.

◆ operator->()

template<class CONTAINED_TYPE , class REFERENCED_TYPE >
pointer argos::CSetIterator< CONTAINED_TYPE, REFERENCED_TYPE >::operator-> ( )
inline

Definition at line 68 of file set.h.

◆ operator=()

template<class CONTAINED_TYPE , class REFERENCED_TYPE >
CSetIterator& argos::CSetIterator< CONTAINED_TYPE, REFERENCED_TYPE >::operator= ( const CSetIterator< CONTAINED_TYPE, REFERENCED_TYPE > &  c_it)
inline

Definition at line 57 of file set.h.

◆ operator==()

template<class CONTAINED_TYPE , class REFERENCED_TYPE >
bool argos::CSetIterator< CONTAINED_TYPE, REFERENCED_TYPE >::operator== ( const CSetIterator< CONTAINED_TYPE, REFERENCED_TYPE > &  c_it)
inline

Definition at line 77 of file set.h.

Member Data Documentation

◆ m_psElem

template<class CONTAINED_TYPE , class REFERENCED_TYPE >
SSetElement<CONTAINED_TYPE>* argos::CSetIterator< CONTAINED_TYPE, REFERENCED_TYPE >::m_psElem

Definition at line 85 of file set.h.