dlvhex  2.5.0
const_set_iterator< T > Class Template Reference

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_iteratoroperator++ ()
const_set_iterator operator++ (int)
const_set_iteratoroperator-- ()
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

Detailed Description

template<typename T>
class const_set_iterator< T >

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.

Definition at line 79 of file Set.h.


Constructor & Destructor Documentation

template<typename T>
const_set_iterator< T >::const_set_iterator ( const Set< T > &  s,
int  l = 0 
) [inline]

Definition at line 85 of file Set.h.


Member Function Documentation

template<typename T>
const_set_iterator< T >::operator const int ( ) const [inline]

Definition at line 140 of file Set.h.

References const_set_iterator< T >::loc.

template<typename T>
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.

template<typename T>
const T& const_set_iterator< T >::operator* ( ) const [inline]

Definition at line 88 of file Set.h.

References const_set_iterator< T >::loc.

template<typename T>
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.

template<typename T>
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.

template<typename T>
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++().

template<typename T>
const_set_iterator const_set_iterator< T >::operator++ ( int  ) [inline]

Definition at line 103 of file Set.h.

References const_set_iterator< T >::operator++().

template<typename T>
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.

template<typename T>
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.

template<typename T>
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--().

template<typename T>
const_set_iterator const_set_iterator< T >::operator-- ( int  ) [inline]

Definition at line 114 of file Set.h.

References const_set_iterator< T >::operator--().

template<typename T>
const T* const_set_iterator< T >::operator-> ( ) const [inline]

Definition at line 93 of file Set.h.

References const_set_iterator< T >::loc.

template<typename T>
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.


Field Documentation

template<typename T>
const Set<T>& const_set_iterator< T >::set [protected]

Definition at line 82 of file Set.h.


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