Classes | Public Types | Public Member Functions | Friends

OpenTissue::utility::IndexIterator< index_type, container_type > Class Template Reference

#include <utility_index_iterator.h>

List of all members.

Classes

struct  enabler

Public Types

typedef container_type::value_type value_type

Public Member Functions

 IndexIterator ()
 IndexIterator (container_type const &container, index_type const &idx)
 IndexIterator (container_type const &container)
template<typename other_idx , class other_container >
 IndexIterator (IndexIterator< other_idx, other_container > const &other, typename boost::enable_if< boost::is_convertible< other_container, container_type >, enabler >::type=enabler())

Friends

class IndexIterator
class boost::iterator_core_access

Detailed Description

template<typename index_type, class container_type>
class OpenTissue::utility::IndexIterator< index_type, container_type >

A Index Iterator. This iterator is usefull for creating custom iterators based on data stored in for instance a vector type container.


Member Typedef Documentation

template<typename index_type, class container_type>
typedef container_type::value_type OpenTissue::utility::IndexIterator< index_type, container_type >::value_type

Constructor & Destructor Documentation

template<typename index_type, class container_type>
OpenTissue::utility::IndexIterator< index_type, container_type >::IndexIterator (  )  [inline]
template<typename index_type, class container_type>
OpenTissue::utility::IndexIterator< index_type, container_type >::IndexIterator ( container_type const &  container,
index_type const &  idx 
) [inline, explicit]
template<typename index_type, class container_type>
OpenTissue::utility::IndexIterator< index_type, container_type >::IndexIterator ( container_type const &  container  )  [inline, explicit]
template<typename index_type, class container_type>
template<typename other_idx , class other_container >
OpenTissue::utility::IndexIterator< index_type, container_type >::IndexIterator ( IndexIterator< other_idx, other_container > const &  other,
typename boost::enable_if< boost::is_convertible< other_container, container_type >, enabler >::type  = enabler() 
) [inline]

Friends And Related Function Documentation

template<typename index_type, class container_type>
friend class boost::iterator_core_access [friend]
template<typename index_type, class container_type>
friend class IndexIterator [friend]

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