Public Types | Public Member Functions | Public Attributes
ash::hashmatrix::const_iterator Struct Reference

The const type used to iterate through the contents of the container. More...

#include <ash/impl/hashmatrix.h>

Inherits ash::matrix_iterator< Mtx, Itr, Mod >.

List of all members.

Public Types

typedef Mod< Mtx * >::type container_ptr
typedef Mtx container_type
Iterator Traits
typedef Mtx::value_type value_type
typedef Mod< value_type * >::type pointer
typedef Mod< value_type & >::type reference
typedef Mtx::size_type size_type
typedef Mtx::difference_type difference_type
typedef std::forward_iterator_tag iterator_category

Public Member Functions

matrix_iterator & operator++ ()
 Pre-increment.
matrix_iterator operator++ (int)
 Post-increment.
Constructors/Destructors

We use the default copy constructor.

We use the default destructor.

 const_iterator ()
 Default Constructor.
 const_iterator (const_iterator_base const &itr)
 Conversion Constructor - base class.
 const_iterator (iterator_base const &itr)
 Conversion Constructor - iterator.
Derefrence Operators
reference operator* () const
pointer operator-> () const
Comparison Operators
template<class I , template< class > class M>
bool operator== (matrix_iterator< Mtx, I, M > const &itr) const
 Equality operator.
template<class I , template< class > class M>
bool operator!= (matrix_iterator< Mtx, I, M > const &itr) const
 Inequality operator.

Public Attributes

container_ptr _M_box
Itr _sub_itr

Detailed Description

The const type used to iterate through the contents of the container.



Concept: stl::container


Constructor & Destructor Documentation

Default Constructor.

ash::hashmatrix::const_iterator::const_iterator ( const_iterator_base const &  itr) [inline]

Conversion Constructor - base class.

ash::hashmatrix::const_iterator::const_iterator ( iterator_base const &  itr) [inline]

Conversion Constructor - iterator.


Member Function Documentation

template<class Mtx , class Itr , template< typename > class Mod>
template<class I , template< class > class M>
bool ash::matrix_iterator< Mtx, Itr, Mod >::operator!= ( matrix_iterator< Mtx, I, M > const &  itr) const [inline, inherited]

Inequality operator.

Note:
Templated so we can compare const and mutable versions.
template<class Mtx , class Itr , template< typename > class Mod>
matrix_iterator& ash::matrix_iterator< Mtx, Itr, Mod >::operator++ ( ) [inline, inherited]

Pre-increment.

template<class Mtx , class Itr , template< typename > class Mod>
matrix_iterator ash::matrix_iterator< Mtx, Itr, Mod >::operator++ ( int  ) [inline, inherited]

Post-increment.

template<class Mtx , class Itr , template< typename > class Mod>
template<class I , template< class > class M>
bool ash::matrix_iterator< Mtx, Itr, Mod >::operator== ( matrix_iterator< Mtx, I, M > const &  itr) const [inline, inherited]

Equality operator.

Note:
Templated so we can compare const and mutable versions.

Member Data Documentation

template<class Mtx , class Itr , template< typename > class Mod>
container_ptr ash::matrix_iterator< Mtx, Itr, Mod >::_M_box [inherited]
Todo:
Loki: Make protected + friend.
template<class Mtx , class Itr , template< typename > class Mod>
Itr ash::matrix_iterator< Mtx, Itr, Mod >::_sub_itr [inherited]
Todo:
Loki: Make protected + friend.

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


© 2012   AshTL
Licensed under  AGPLv3
Hosted by  Get AshTL at SourceForge.net. Fast, secure and Free Open Source software downloads
Generated by  doxygen 1.7.4