theplu::yat::utility::WeightIterator< Base > Class Template Reference

WeightIterator. More...

#include <yat/utility/WeightIterator.h>

List of all members.

Public Member Functions

 WeightIterator (Base b)
 Constructor from Base iterator.
template<typename B2>
 WeightIterator (WeightIterator< B2 > other, typename boost::enable_if_convertible< B2, Base >::type *=0)
 Conversion constructor.
iterator_traits< Base >
::weight_reference 
operator* (void) const


Detailed Description

template<typename Base>
class theplu::yat::utility::WeightIterator< Base >

WeightIterator.

Constructor & Destructor Documentation

template<typename Base>
template<typename B2>
theplu::yat::utility::WeightIterator< Base >::WeightIterator ( WeightIterator< B2 >  other,
typename boost::enable_if_convertible< B2, Base >::type *  = 0 
) [inline]

Conversion constructor.

Create a WeightIterator<Base> from a WeightIterator<B2>. Possible if B2 is convertible to a Base. Constructor allows implicit conversions such as iterator to const_iterator.


Member Function Documentation

template<typename Base>
iterator_traits<Base>::weight_reference theplu::yat::utility::WeightIterator< Base >::operator* ( void   )  const [inline]

using iterator_traits::data on Base iterator

Returns:
data


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

Generated on Tue Jan 18 02:20:11 2011 for yat by  doxygen 1.5.5