ViennaGrid - The Vienna Grid Library  2.1.0
Public Types | Public Member Functions | Friends
static_array< T, N >::iterator Class Reference

#include <static_array.hpp>

Public Types

typedef
static_array::const_reference 
const_reference
typedef std::size_t difference_type
typedef
std::random_access_iterator_tag 
iterator_category
typedef static_array::pointer pointer
typedef static_array::reference reference
typedef static_array::value_type value_type

Public Member Functions

 iterator ()
 iterator (const iterator &it)
 iterator (pointer ptr)
bool operator!= (const iterator &i) const
bool operator!= (const const_iterator &it) const
reference operator* () const
iterator operator+ (long diff)
iteratoroperator++ ()
iterator operator++ (int)
iteratoroperator+= (long diff)
difference_type operator- (const iterator &it) const
difference_type operator- (const const_iterator &it) const
iterator operator- (long diff)
iteratoroperator-- ()
iterator operator-- (int)
iteratoroperator-= (long diff)
pointer operator-> () const
bool operator< (const iterator &it) const
bool operator< (const const_iterator &it) const
bool operator<= (const iterator &it) const
bool operator<= (const const_iterator &it) const
iteratoroperator= (const iterator &it)
bool operator== (const iterator &i) const
bool operator== (const const_iterator &it) const
bool operator> (const iterator &it) const
bool operator> (const const_iterator &it) const
bool operator>= (const iterator &it) const
bool operator>= (const const_iterator &it) const
reference operator[] (std::size_t offset)
const_reference operator[] (std::size_t offset) const

Friends

class const_iterator

template<typename T, int N>
class viennagrid::static_array< T, N >::iterator


Member Typedef Documentation

typedef std::size_t difference_type
typedef std::random_access_iterator_tag iterator_category

Constructor & Destructor Documentation

iterator ( ) [inline]
iterator ( const iterator it) [inline]
iterator ( pointer  ptr) [inline]

Member Function Documentation

bool operator!= ( const iterator i) const [inline]
bool operator!= ( const const_iterator it) const
reference operator* ( ) const [inline]
iterator operator+ ( long  diff) [inline]
iterator& operator++ ( ) [inline]
iterator operator++ ( int  ) [inline]
iterator& operator+= ( long  diff) [inline]
difference_type operator- ( const iterator it) const [inline]
difference_type operator- ( const const_iterator it) const [inline]
iterator operator- ( long  diff) [inline]
iterator& operator-- ( ) [inline]
iterator operator-- ( int  ) [inline]
iterator& operator-= ( long  diff) [inline]
pointer operator-> ( ) const [inline]
bool operator< ( const iterator it) const [inline]
bool operator< ( const const_iterator it) const [inline]
bool operator<= ( const iterator it) const [inline]
bool operator<= ( const const_iterator it) const [inline]
iterator& operator= ( const iterator it) [inline]
bool operator== ( const iterator i) const [inline]
bool operator== ( const const_iterator it) const
bool operator> ( const iterator it) const [inline]
bool operator> ( const const_iterator it) const [inline]
bool operator>= ( const iterator it) const [inline]
bool operator>= ( const const_iterator it) const [inline]
reference operator[] ( std::size_t  offset) [inline]
const_reference operator[] ( std::size_t  offset) const [inline]

Friends And Related Function Documentation

friend class const_iterator [friend]

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