Sierra Toolkit Version of the Day
stk::util::nested_iterator< OuterRange, InnerRange, OuterToInnerConverter > Class Template Reference

#include <nested_iterator.hpp>

List of all members.

Public Types

typedef boost::range_iterator
< OuterRange >::type 
typedef boost::range_iterator
< InnerRange >::type 
typedef OuterRange outer_range_type
typedef InnerRange inner_range_type
typedef OuterToInnerConverter converter_type

Public Member Functions

 nested_iterator (outer_range_type &outer_range, converter_type converter=converter_type())


class nested_iterator< typename boost::add_const< outer_range_type >::type, inner_range_type, converter_type >
class boost::iterator_core_access

Detailed Description

template<typename OuterRange, typename InnerRange, typename OuterToInnerConverter>
class stk::util::nested_iterator< OuterRange, InnerRange, OuterToInnerConverter >

nested_iterator is a forward iterator that flattens iteration over ranges of ranges

Both OuterIterator and InnerIterator must support forward_traversal.

iterator_value<OuterIterator>::type is convertible to OuterValueToInnerRange::value_type

Definition at line 28 of file nested_iterator.hpp.

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines