aimstil
5.0.5
|
#include <til/rle_array.h>
Public Types | |
typedef detail::rle_array_iterator_base< const rle_array< T, TCount >, typename Data::const_iterator > | Base |
typedef Base::value_type | value_type |
typedef Base::reference | reference |
typedef Base::pointer | pointer |
![]() | |
typedef rle_array_iterator_base< const rle_array< T, TCount >, Data::const_iterator > | Self |
typedef const rle_array< T, TCount > | container |
typedef const rle_array< T, TCount > ::count_type | count_type |
typedef std::pair< Data::const_iterator, count_type > | index_type |
typedef value_proxy< const rle_array< T, TCount >, index_type, policy::VPAccess_Default< container, index_type &> > | ValueProxy |
typedef container::value_type | value_type |
typedef ValueProxy & | reference |
typedef ValueProxy::const_pointer | pointer |
Public Member Functions | |
const_iterator (const typename Data::const_iterator &i, TCount segindex, std::size_t pos, const rle_array< T, TCount > &c) | |
template<typename XRLEArray , typename XIterator > | |
const_iterator (const detail::rle_array_iterator_base< XRLEArray, XIterator > &b) | |
This is only to convert from an rle_array<T,TCount>::iterator, so that one can write const_iterator i = a.begin() even when a is non-const. More... | |
![]() | |
rle_array_iterator_base (const Data::const_iterator &i, count_type segindex, std::size_t pos, container &c) | |
rle_array_iterator_base (const rle_array_iterator_base< XRLEArray, XIterator > &b) | |
std::size_t | pos () const |
Return the current position of the iterator in the array. More... | |
const ValueProxy & | proxy () const |
reference | operator* () |
pointer | operator-> () |
void | operator++ () |
void | print () |
Definition at line 289 of file rle_array.h.
typedef detail::rle_array_iterator_base<const rle_array<T,TCount>, typename Data::const_iterator> til::rle_array< T, TCount >::const_iterator::Base |
Definition at line 292 of file rle_array.h.
typedef Base::pointer til::rle_array< T, TCount >::const_iterator::pointer |
Definition at line 295 of file rle_array.h.
typedef Base::reference til::rle_array< T, TCount >::const_iterator::reference |
Definition at line 294 of file rle_array.h.
typedef Base::value_type til::rle_array< T, TCount >::const_iterator::value_type |
Definition at line 293 of file rle_array.h.
|
inline |
Definition at line 297 of file rle_array.h.
|
inline |
This is only to convert from an rle_array<T,TCount>::iterator, so that one can write const_iterator i = a.begin() even when a is non-const.
Convertions from other types are unsafe and probably won't compile.
Definition at line 304 of file rle_array.h.