dlvhex
2.5.0
|
This class implements an iterator for Set according to public std::iterator. More...
#include <include/dlvhex2/Set.h>
Public Member Functions | |
set_iterator (Set< T > &s, int l=0) | |
T & | operator* () |
T * | operator-> () |
set_iterator & | operator++ () |
set_iterator | operator++ (int) |
set_iterator & | operator-- () |
set_iterator | operator-- (int) |
set_iterator | operator+ (int i) const |
set_iterator | operator+ (set_iterator &it) const |
set_iterator | operator- (int i) const |
set_iterator | operator- (set_iterator &it) const |
operator const int () const | |
bool | operator== (set_iterator const &sit2) const |
bool | operator!= (set_iterator const &sit2) const |
Protected Attributes | |
Set< T > & | set |
int | loc |
This class implements an iterator for Set according to public std::iterator.
See public std::iterator for descriptions of the methods and operators in this class.
set_iterator< T >::set_iterator | ( | Set< T > & | s, |
int | l = 0 |
||
) | [inline] |
set_iterator< T >::operator const int | ( | ) | const [inline] |
Definition at line 219 of file Set.h.
References set_iterator< T >::loc.
bool set_iterator< T >::operator!= | ( | set_iterator< T > const & | sit2 | ) | const [inline] |
Definition at line 229 of file Set.h.
References set_iterator< T >::loc.
T& set_iterator< T >::operator* | ( | ) | [inline] |
Definition at line 169 of file Set.h.
References set_iterator< T >::loc.
set_iterator set_iterator< T >::operator+ | ( | int | i | ) | const [inline] |
Definition at line 199 of file Set.h.
References set_iterator< T >::loc.
set_iterator set_iterator< T >::operator+ | ( | set_iterator< T > & | it | ) | const [inline] |
Definition at line 204 of file Set.h.
References set_iterator< T >::loc.
set_iterator& set_iterator< T >::operator++ | ( | ) | [inline] |
Definition at line 177 of file Set.h.
References set_iterator< T >::loc.
Referenced by set_iterator< T >::operator++().
set_iterator set_iterator< T >::operator++ | ( | int | ) | [inline] |
Definition at line 182 of file Set.h.
References set_iterator< T >::operator++().
set_iterator set_iterator< T >::operator- | ( | int | i | ) | const [inline] |
Definition at line 209 of file Set.h.
References set_iterator< T >::loc.
set_iterator set_iterator< T >::operator- | ( | set_iterator< T > & | it | ) | const [inline] |
Definition at line 214 of file Set.h.
References set_iterator< T >::loc.
set_iterator& set_iterator< T >::operator-- | ( | ) | [inline] |
Definition at line 188 of file Set.h.
References set_iterator< T >::loc.
Referenced by set_iterator< T >::operator--().
set_iterator set_iterator< T >::operator-- | ( | int | ) | [inline] |
Definition at line 193 of file Set.h.
References set_iterator< T >::operator--().
T* set_iterator< T >::operator-> | ( | ) | [inline] |
Definition at line 173 of file Set.h.
References set_iterator< T >::loc.
bool set_iterator< T >::operator== | ( | set_iterator< T > const & | sit2 | ) | const [inline] |
Definition at line 224 of file Set.h.
References set_iterator< T >::loc.
int set_iterator< T >::loc [protected] |
Definition at line 164 of file Set.h.
Referenced by set_iterator< T >::operator const int(), set_iterator< T >::operator!=(), set_iterator< T >::operator*(), set_iterator< T >::operator+(), set_iterator< T >::operator++(), set_iterator< T >::operator-(), set_iterator< T >::operator--(), set_iterator< T >::operator->(), and set_iterator< T >::operator==().
Set<T>& set_iterator< T >::set [protected] |