1 #ifndef _theplu_yat_utility_data_iterator_
2 #define _theplu_yat_utility_data_iterator_
26 #include "concept_check.h"
27 #include "iterator_traits.h"
29 #include <boost/concept_check.hpp>
30 #include <boost/iterator/iterator_adaptor.hpp>
31 #include <boost/type_traits/remove_reference.hpp>
62 template<
typename Base>
64 :
public boost::iterator_adaptor<
67 , typename boost::remove_reference<typename iterator_traits<Base>::data_reference>::type
69 , typename iterator_traits<Base>::data_reference
101 template<
typename B2>
103 typename boost::enable_if_convertible<B2, Base>::type* = 0 )
127 template<
typename Base>
DataIterator(DataIterator< B2 > other, typename boost::enable_if_convertible< B2, Base >::type *=0)
Conversion constructor.
Definition: DataIterator.h:102
Concept check for Data Iterator.
Definition: concept_check.h:228
Definition: iterator_traits.h:412
iterator_traits< Base >::data_reference operator*(void) const
Definition: DataIterator.h:114
DataIterator.
Definition: DataIterator.h:63
DataIterator(void)
Default Constructor.
Definition: DataIterator.h:88
traits::data_reference data_reference
Definition: iterator_traits.h:425
DataIterator(Base b)
Constructor from Base iterator.
Definition: DataIterator.h:77
DataIterator< Base > data_iterator(Base base)
convenient function to create DataIterator
Definition: DataIterator.h:128