Public Types | Public Member Functions | Friends

OpenTissue::utility::map_data_iterator< map_iterator > Class Template Reference

#include <utility_map_data_iterator.h>

List of all members.

Public Types

typedef
map_data_iterator::iterator_adaptor_ 
super_t
typedef map_iterator::value_type pair_type
typedef pair_type::second_type second_type

Public Member Functions

 map_data_iterator ()
 map_data_iterator (map_iterator x)
template<class other_iterator >
 map_data_iterator (map_data_iterator< other_iterator > const &r, typename boost::enable_if_convertible< other_iterator, map_iterator >::type *=0)

Friends

class boost::iterator_core_access

Detailed Description

template<class map_iterator>
class OpenTissue::utility::map_data_iterator< map_iterator >

Map Data Iterator. This iteartor is useful for iterating over all elements stored in a map, without getting bothered by key-values.

Example Usage:

std::map< int, char > A; ... add some data... map_data_iterator begin( A.begin() ); map_data_iterator end( A.end() ); map_data_iterator a = begin; for(;a!=end;++a) *a = 'a';


Member Typedef Documentation

template<class map_iterator>
typedef map_iterator::value_type OpenTissue::utility::map_data_iterator< map_iterator >::pair_type
template<class map_iterator>
typedef pair_type::second_type OpenTissue::utility::map_data_iterator< map_iterator >::second_type
template<class map_iterator>
typedef map_data_iterator::iterator_adaptor_ OpenTissue::utility::map_data_iterator< map_iterator >::super_t

Constructor & Destructor Documentation

template<class map_iterator>
OpenTissue::utility::map_data_iterator< map_iterator >::map_data_iterator (  )  [inline]
template<class map_iterator>
OpenTissue::utility::map_data_iterator< map_iterator >::map_data_iterator ( map_iterator  x  )  [inline, explicit]
template<class map_iterator>
template<class other_iterator >
OpenTissue::utility::map_data_iterator< map_iterator >::map_data_iterator ( map_data_iterator< other_iterator > const &  r,
typename boost::enable_if_convertible< other_iterator, map_iterator >::type = 0 
) [inline]

Friends And Related Function Documentation

template<class map_iterator>
friend class boost::iterator_core_access [friend]

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