Vcsn  2.3
Be Rational
vcsn::detail::wet_bitset::iterator_impl< Value, Set > Struct Template Reference

Iterator. More...

#include <wet.hh>

Inheritance diagram for vcsn::detail::wet_bitset::iterator_impl< Value, Set >:
Collaboration diagram for vcsn::detail::wet_bitset::iterator_impl< Value, Set >:

Public Types

using set_t = Set
 Underlying "iterator". More...
 
using iterator_t = size_t
 
using value_t = Value
 
using reference_t = value_t &
 

Public Member Functions

template<typename OtherValue , typename OtherSet >
 iterator_impl (const iterator_impl< OtherValue, OtherSet > &that)
 
 iterator_impl (set_t &set, size_t pos)
 
 iterator_impl (set_t &set)
 
iterator_imploperator= (const iterator_impl &that)
 
const set_tset () const
 
const iterator_titerator () const
 
welement_t operator* () const
 

Private Member Functions

void increment ()
 Advance to next position. More...
 
template<typename OtherValue , typename OtherSet >
bool equal (const iterator_impl< OtherValue, OtherSet > &that) const
 

Private Attributes

set_tset_
 Underlying bitset. More...
 
iterator_t it_
 

Friends

class boost::iterator_core_access
 

Detailed Description

template<typename Value, typename Set>
struct vcsn::detail::wet_bitset::iterator_impl< Value, Set >

Iterator.

Definition at line 613 of file wet.hh.

Member Typedef Documentation

template<typename Value, typename Set>
using vcsn::detail::wet_bitset::iterator_impl< Value, Set >::iterator_t = size_t

Definition at line 621 of file wet.hh.

template<typename Value, typename Set>
using vcsn::detail::wet_bitset::iterator_impl< Value, Set >::reference_t = value_t&

Definition at line 623 of file wet.hh.

template<typename Value, typename Set>
using vcsn::detail::wet_bitset::iterator_impl< Value, Set >::set_t = Set

Underlying "iterator".

Definition at line 620 of file wet.hh.

template<typename Value, typename Set>
using vcsn::detail::wet_bitset::iterator_impl< Value, Set >::value_t = Value

Definition at line 622 of file wet.hh.

Constructor & Destructor Documentation

template<typename Value, typename Set>
template<typename OtherValue , typename OtherSet >
vcsn::detail::wet_bitset::iterator_impl< Value, Set >::iterator_impl ( const iterator_impl< OtherValue, OtherSet > &  that)
inline

Definition at line 626 of file wet.hh.

template<typename Value, typename Set>
vcsn::detail::wet_bitset::iterator_impl< Value, Set >::iterator_impl ( set_t set,
size_t  pos 
)
inline

Definition at line 631 of file wet.hh.

template<typename Value, typename Set>
vcsn::detail::wet_bitset::iterator_impl< Value, Set >::iterator_impl ( set_t set)
inline

Definition at line 636 of file wet.hh.

Member Function Documentation

template<typename Value, typename Set>
template<typename OtherValue , typename OtherSet >
bool vcsn::detail::wet_bitset::iterator_impl< Value, Set >::equal ( const iterator_impl< OtherValue, OtherSet > &  that) const
inlineprivate

Definition at line 673 of file wet.hh.

References vcsn::detail::wet_bitset::iterator_impl< Value, Set >::iterator(), and vcsn::detail::wet_bitset::iterator_impl< Value, Set >::set().

Here is the call graph for this function:

template<typename Value, typename Set>
void vcsn::detail::wet_bitset::iterator_impl< Value, Set >::increment ( )
inlineprivate

Advance to next position.

Definition at line 667 of file wet.hh.

References vcsn::detail::wet_bitset::iterator_impl< Value, Set >::it_.

template<typename Value, typename Set>
const iterator_t& vcsn::detail::wet_bitset::iterator_impl< Value, Set >::iterator ( ) const
inline
template<typename Value, typename Set>
welement_t vcsn::detail::wet_bitset::iterator_impl< Value, Set >::operator* ( ) const
inline
template<typename Value, typename Set>
iterator_impl& vcsn::detail::wet_bitset::iterator_impl< Value, Set >::operator= ( const iterator_impl< Value, Set > &  that)
inline
template<typename Value, typename Set>
const set_t& vcsn::detail::wet_bitset::iterator_impl< Value, Set >::set ( ) const
inline

Friends And Related Function Documentation

template<typename Value, typename Set>
friend class boost::iterator_core_access
friend

Definition at line 664 of file wet.hh.

Member Data Documentation

template<typename Value, typename Set>
set_t& vcsn::detail::wet_bitset::iterator_impl< Value, Set >::set_
private

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