Vcsn  2.4
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

 iterator_impl (set_t &set, iterator_t it) noexcept
 
 iterator_impl (set_t &set) noexcept
 
 iterator_impl (const iterator_impl &) noexcept=default
 
template<typename OtherValue , typename OtherIterator >
 iterator_impl (const iterator_impl< OtherValue, OtherIterator > &that) noexcept
 
iterator_imploperator= (const iterator_impl &that) noexcept
 
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 616 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 624 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 626 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 623 of file wet.hh.

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

Definition at line 625 of file wet.hh.

Constructor & Destructor Documentation

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

Definition at line 628 of file wet.hh.

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

Here is the call graph for this function:

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

Definition at line 633 of file wet.hh.

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

Here is the call graph for this function:

template<typename Value, typename Set>
vcsn::detail::wet_bitset::iterator_impl< Value, Set >::iterator_impl ( const iterator_impl< Value, Set > &  )
defaultnoexcept
template<typename Value, typename Set>
template<typename OtherValue , typename OtherIterator >
vcsn::detail::wet_bitset::iterator_impl< Value, Set >::iterator_impl ( const iterator_impl< OtherValue, OtherIterator > &  that)
inlinenoexcept

Definition at line 640 of file wet.hh.

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

Here is the call graph for this function:

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 677 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 671 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)
inlinenoexcept

Friends And Related Function Documentation

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

Definition at line 668 of file wet.hh.

Member Data Documentation

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

Underlying bitset.

Definition at line 684 of file wet.hh.

Referenced by vcsn::detail::wet_bitset::iterator_impl< Value, Set >::set().


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