dlvhex
2.5.0
|
This class implements a const_iterator for Set according to public std::iterator. More...
#include <include/dlvhex2/Set.h>
Public Member Functions | |
const_set_iterator (const Set< T > &s, int l=0) | |
const T & | operator* () const |
const T * | operator-> () const |
const_set_iterator & | operator++ () |
const_set_iterator | operator++ (int) |
const_set_iterator & | operator-- () |
const_set_iterator | operator-- (int) |
const_set_iterator | operator+ (int i) const |
const_set_iterator | operator+ (const_set_iterator &it) const |
const_set_iterator | operator- (int i) const |
const_set_iterator | operator- (const_set_iterator &it) const |
operator const int () const | |
bool | operator== (const_set_iterator const &sit2) const |
bool | operator!= (const_set_iterator const &sit2) const |
Protected Attributes | |
const Set< T > & | set |
int | loc |
This class implements a const_iterator for Set according to public std::iterator.
See public std::iterator for descriptions of the methods and operators in this class.
const_set_iterator< T >::const_set_iterator | ( | const Set< T > & | s, |
int | l = 0 |
||
) | [inline] |
const_set_iterator< T >::operator const int | ( | ) | const [inline] |
Definition at line 140 of file Set.h.
References const_set_iterator< T >::loc.
bool const_set_iterator< T >::operator!= | ( | const_set_iterator< T > const & | sit2 | ) | const [inline] |
Definition at line 150 of file Set.h.
References const_set_iterator< T >::loc.
const T& const_set_iterator< T >::operator* | ( | ) | const [inline] |
Definition at line 88 of file Set.h.
References const_set_iterator< T >::loc.
const_set_iterator const_set_iterator< T >::operator+ | ( | int | i | ) | const [inline] |
Definition at line 120 of file Set.h.
References const_set_iterator< T >::loc.
const_set_iterator const_set_iterator< T >::operator+ | ( | const_set_iterator< T > & | it | ) | const [inline] |
Definition at line 125 of file Set.h.
References const_set_iterator< T >::loc.
const_set_iterator& const_set_iterator< T >::operator++ | ( | ) | [inline] |
Definition at line 98 of file Set.h.
References const_set_iterator< T >::loc.
Referenced by const_set_iterator< T >::operator++().
const_set_iterator const_set_iterator< T >::operator++ | ( | int | ) | [inline] |
Definition at line 103 of file Set.h.
References const_set_iterator< T >::operator++().
const_set_iterator const_set_iterator< T >::operator- | ( | int | i | ) | const [inline] |
Definition at line 130 of file Set.h.
References const_set_iterator< T >::loc.
const_set_iterator const_set_iterator< T >::operator- | ( | const_set_iterator< T > & | it | ) | const [inline] |
Definition at line 135 of file Set.h.
References const_set_iterator< T >::loc.
const_set_iterator& const_set_iterator< T >::operator-- | ( | ) | [inline] |
Definition at line 109 of file Set.h.
References const_set_iterator< T >::loc.
Referenced by const_set_iterator< T >::operator--().
const_set_iterator const_set_iterator< T >::operator-- | ( | int | ) | [inline] |
Definition at line 114 of file Set.h.
References const_set_iterator< T >::operator--().
const T* const_set_iterator< T >::operator-> | ( | ) | const [inline] |
Definition at line 93 of file Set.h.
References const_set_iterator< T >::loc.
bool const_set_iterator< T >::operator== | ( | const_set_iterator< T > const & | sit2 | ) | const [inline] |
Definition at line 145 of file Set.h.
References const_set_iterator< T >::loc.
int const_set_iterator< T >::loc [protected] |
Definition at line 83 of file Set.h.
Referenced by const_set_iterator< T >::operator const int(), const_set_iterator< T >::operator!=(), const_set_iterator< T >::operator*(), const_set_iterator< T >::operator+(), const_set_iterator< T >::operator++(), const_set_iterator< T >::operator-(), const_set_iterator< T >::operator--(), const_set_iterator< T >::operator->(), and const_set_iterator< T >::operator==().
const Set<T>& const_set_iterator< T >::set [protected] |