Public Types | Public Member Functions | Protected Types | Protected Attributes

OpenTissue::grid::detail::Iterator< grid_type_, reference_type, pointer_type > Class Template Reference

basic iterator for walking through the WHOLE container More...

#include <grid_iterators.h>

List of all members.

Public Types

typedef grid_type_ grid_type
typedef grid_type::math_types math_types

Public Member Functions

grid_typeget_grid ()
grid_type const & get_grid () const
pointer_type const & get_pointer () const
pointer_type & get_pointer ()
 Iterator ()
 Iterator (grid_type *grid, pointer_type pos)
reference_type operator* ()
self_type operator++ (int)
self_typeoperator++ ()
void operator+= (size_t m)
self_type operator+ (size_t m)
self_type operator- (size_t m)
self_type operator-- (int)
self_typeoperator-- ()
void operator-= (size_t m)
int operator- (self_type const &other) const
bool operator< (self_type const &other) const
bool operator<= (self_type const &other) const
bool operator> (self_type const &other) const
bool operator>= (self_type const &other) const
index_vector compute_index () const
void operator+= (index_vector const &idx)
self_type const & operator= (index_vector const &idx)
bool operator!= (self_type const &other)
bool operator== (self_type const &other)

Protected Types

typedef grid_type::index_vector index_vector

Protected Attributes

grid_typem_grid
pointer_type m_pos

Detailed Description

template<class grid_type_, class reference_type, class pointer_type>
class OpenTissue::grid::detail::Iterator< grid_type_, reference_type, pointer_type >

basic iterator for walking through the WHOLE container


Member Typedef Documentation

template<class grid_type_, class reference_type, class pointer_type>
typedef grid_type_ OpenTissue::grid::detail::Iterator< grid_type_, reference_type, pointer_type >::grid_type
template<class grid_type_, class reference_type, class pointer_type>
typedef grid_type::index_vector OpenTissue::grid::detail::Iterator< grid_type_, reference_type, pointer_type >::index_vector [protected]
template<class grid_type_, class reference_type, class pointer_type>
typedef grid_type::math_types OpenTissue::grid::detail::Iterator< grid_type_, reference_type, pointer_type >::math_types

Constructor & Destructor Documentation

template<class grid_type_, class reference_type, class pointer_type>
OpenTissue::grid::detail::Iterator< grid_type_, reference_type, pointer_type >::Iterator (  )  [inline]
template<class grid_type_, class reference_type, class pointer_type>
OpenTissue::grid::detail::Iterator< grid_type_, reference_type, pointer_type >::Iterator ( grid_type grid,
pointer_type  pos 
) [inline]

Member Function Documentation

template<class grid_type_, class reference_type, class pointer_type>
index_vector OpenTissue::grid::detail::Iterator< grid_type_, reference_type, pointer_type >::compute_index (  )  const [inline]
template<class grid_type_, class reference_type, class pointer_type>
grid_type& OpenTissue::grid::detail::Iterator< grid_type_, reference_type, pointer_type >::get_grid (  )  [inline]
template<class grid_type_, class reference_type, class pointer_type>
grid_type const& OpenTissue::grid::detail::Iterator< grid_type_, reference_type, pointer_type >::get_grid (  )  const [inline]
template<class grid_type_, class reference_type, class pointer_type>
pointer_type& OpenTissue::grid::detail::Iterator< grid_type_, reference_type, pointer_type >::get_pointer (  )  [inline]
template<class grid_type_, class reference_type, class pointer_type>
pointer_type const& OpenTissue::grid::detail::Iterator< grid_type_, reference_type, pointer_type >::get_pointer (  )  const [inline]
template<class grid_type_, class reference_type, class pointer_type>
bool OpenTissue::grid::detail::Iterator< grid_type_, reference_type, pointer_type >::operator!= ( self_type const &  other  )  [inline]
template<class grid_type_, class reference_type, class pointer_type>
reference_type OpenTissue::grid::detail::Iterator< grid_type_, reference_type, pointer_type >::operator* (  )  [inline]
template<class grid_type_, class reference_type, class pointer_type>
self_type OpenTissue::grid::detail::Iterator< grid_type_, reference_type, pointer_type >::operator+ ( size_t  m  )  [inline]
template<class grid_type_, class reference_type, class pointer_type>
self_type OpenTissue::grid::detail::Iterator< grid_type_, reference_type, pointer_type >::operator++ ( int   )  [inline]
template<class grid_type_, class reference_type, class pointer_type>
self_type& OpenTissue::grid::detail::Iterator< grid_type_, reference_type, pointer_type >::operator++ (  )  [inline]
template<class grid_type_, class reference_type, class pointer_type>
void OpenTissue::grid::detail::Iterator< grid_type_, reference_type, pointer_type >::operator+= ( size_t  m  )  [inline]
template<class grid_type_, class reference_type, class pointer_type>
void OpenTissue::grid::detail::Iterator< grid_type_, reference_type, pointer_type >::operator+= ( index_vector const &  idx  )  [inline]
template<class grid_type_, class reference_type, class pointer_type>
self_type OpenTissue::grid::detail::Iterator< grid_type_, reference_type, pointer_type >::operator- ( size_t  m  )  [inline]
template<class grid_type_, class reference_type, class pointer_type>
int OpenTissue::grid::detail::Iterator< grid_type_, reference_type, pointer_type >::operator- ( self_type const &  other  )  const [inline]
template<class grid_type_, class reference_type, class pointer_type>
self_type OpenTissue::grid::detail::Iterator< grid_type_, reference_type, pointer_type >::operator-- ( int   )  [inline]
template<class grid_type_, class reference_type, class pointer_type>
self_type& OpenTissue::grid::detail::Iterator< grid_type_, reference_type, pointer_type >::operator-- (  )  [inline]
template<class grid_type_, class reference_type, class pointer_type>
void OpenTissue::grid::detail::Iterator< grid_type_, reference_type, pointer_type >::operator-= ( size_t  m  )  [inline]
template<class grid_type_, class reference_type, class pointer_type>
bool OpenTissue::grid::detail::Iterator< grid_type_, reference_type, pointer_type >::operator< ( self_type const &  other  )  const [inline]
template<class grid_type_, class reference_type, class pointer_type>
bool OpenTissue::grid::detail::Iterator< grid_type_, reference_type, pointer_type >::operator<= ( self_type const &  other  )  const [inline]
template<class grid_type_, class reference_type, class pointer_type>
self_type const& OpenTissue::grid::detail::Iterator< grid_type_, reference_type, pointer_type >::operator= ( index_vector const &  idx  )  [inline]
template<class grid_type_, class reference_type, class pointer_type>
bool OpenTissue::grid::detail::Iterator< grid_type_, reference_type, pointer_type >::operator== ( self_type const &  other  )  [inline]
template<class grid_type_, class reference_type, class pointer_type>
bool OpenTissue::grid::detail::Iterator< grid_type_, reference_type, pointer_type >::operator> ( self_type const &  other  )  const [inline]
template<class grid_type_, class reference_type, class pointer_type>
bool OpenTissue::grid::detail::Iterator< grid_type_, reference_type, pointer_type >::operator>= ( self_type const &  other  )  const [inline]

Member Data Documentation

template<class grid_type_, class reference_type, class pointer_type>
grid_type* OpenTissue::grid::detail::Iterator< grid_type_, reference_type, pointer_type >::m_grid [protected]
template<class grid_type_, class reference_type, class pointer_type>
pointer_type OpenTissue::grid::detail::Iterator< grid_type_, reference_type, pointer_type >::m_pos [protected]

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