PIP 5.6.1
Platform-Independent Primitives
Public Member Functions | List of all members
PISet< T >::const_iterator Class Reference

Constant iterator over PISet elements. More...

#include <piset.h>

Public Member Functions

 const_iterator ()
 Constructs an invalid iterator.
 
const T & operator* () const
 Returns the current element.
 
const T & operator-> () const
 Provides access to the current element.
 
const_iteratoroperator++ ()
 Moves iterator to the next element.
 
const_iterator operator++ (int)
 Returns iterator before incrementing.
 
const_iteratoroperator-- ()
 Moves iterator to the previous element.
 
const_iterator operator-- (int)
 Returns iterator before decrementing.
 
const_iteratoroperator+= (const const_iterator &it)
 Adds offset of iterator it.
 
const_iteratoroperator+= (size_t p)
 Advances iterator by p elements.
 
const_iteratoroperator-= (const const_iterator &it)
 Subtracts offset of iterator it.
 
const_iteratoroperator-= (size_t p)
 Moves iterator back by p elements.
 
bool operator== (const const_iterator &it) const
 Checks iterator equality.
 
bool operator!= (const const_iterator &it) const
 Checks iterator inequality.
 

Detailed Description

template<typename T>
class PISet< T >::const_iterator

Constant iterator over PISet elements.