theplu::yat::utility::detail::theplu::yat::utility::detail::iterator_traits_detail< Iter, typename boost::enable_if< is_weighted< Iter > >::type > Struct Template Reference

#include <yat/utility/iterator_traits.h>

List of all members.

Public Types

typedef mutable_reference
< iter_has_mutable_data< Iter >
::value >::type 
data_reference
typedef mutable_reference
< iter_has_mutable_weight
< Iter >::value >::type 
weight_reference

Public Member Functions

data_reference data (Iter iter) const
weight_reference weight (Iter iter) const


Detailed Description

template<typename Iter>
struct theplu::yat::utility::detail::theplu::yat::utility::detail::iterator_traits_detail< Iter, typename boost::enable_if< is_weighted< Iter > >::type >

For internal use only.

Specialization for weighted iterators


Member Typedef Documentation

template<typename Iter>
typedef mutable_reference<iter_has_mutable_data<Iter>::value>::type theplu::yat::utility::detail::theplu::yat::utility::detail::iterator_traits_detail< Iter, typename boost::enable_if< is_weighted< Iter > >::type >::data_reference

data_reference is double& for mutable iterators and const double otherwise

template<typename Iter>
typedef mutable_reference<iter_has_mutable_weight<Iter>::value>::type theplu::yat::utility::detail::theplu::yat::utility::detail::iterator_traits_detail< Iter, typename boost::enable_if< is_weighted< Iter > >::type >::weight_reference

weight_reference is double& for mutable iterators and const double otherwise


Member Function Documentation

template<typename Iter>
data_reference theplu::yat::utility::detail::theplu::yat::utility::detail::iterator_traits_detail< Iter, typename boost::enable_if< is_weighted< Iter > >::type >::data ( Iter  iter  )  const [inline]

return data of iter

template<typename Iter>
weight_reference theplu::yat::utility::detail::theplu::yat::utility::detail::iterator_traits_detail< Iter, typename boost::enable_if< is_weighted< Iter > >::type >::weight ( Iter  iter  )  const [inline]

return weight of iter


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

Generated on Tue Jan 18 02:21:19 2011 for yat by  doxygen 1.5.5