SDSL 3.0.3
Succinct Data Structure Library
|
Generic iterator for a random access container. More...
#include <iterators.hpp>
Public Types | |
using | iterator_category = std::random_access_iterator_tag |
using | value_type = typename t_rac::value_type |
using | difference_type = typename t_rac::difference_type |
using | pointer = value_type * |
using | reference = value_type & |
typedef const t_rac::value_type | const_reference |
typedef t_rac::size_type | size_type |
typedef random_access_const_iterator< t_rac > | iterator |
Public Member Functions | |
random_access_const_iterator (t_rac const *rac, size_type idx=0) | |
Constructor. | |
const_reference | operator* () const |
Dereference operator for the Iterator. | |
iterator & | operator++ () |
Prefix increment of the Iterator. | |
iterator | operator++ (int) |
Postfix increment of the Iterator. | |
iterator & | operator-- () |
Prefix decrement of the Iterator. | |
iterator | operator-- (int) |
Postfix decrement of the Iterator. | |
iterator & | operator+= (difference_type i) |
iterator & | operator-= (difference_type i) |
iterator | operator+ (difference_type i) const |
iterator | operator- (difference_type i) const |
const_reference | operator[] (difference_type i) const |
bool | operator== (iterator const &it) const |
bool | operator!= (iterator const &it) const |
bool | operator< (iterator const &it) const |
bool | operator> (iterator const &it) const |
bool | operator>= (iterator const &it) const |
bool | operator<= (iterator const &it) const |
Friends | |
template<class t_RAC > | |
random_access_const_iterator< t_RAC >::difference_type | operator- (random_access_const_iterator< t_RAC > const &x, random_access_const_iterator< t_RAC > const &y) |
Generic iterator for a random access container.
t_rac | Type of random access container. |
Definition at line 23 of file iterators.hpp.
const t_rac::value_type sdsl::random_access_const_iterator< t_rac >::const_reference |
Definition at line 32 of file iterators.hpp.
using sdsl::random_access_const_iterator< t_rac >::difference_type = typename t_rac::difference_type |
Definition at line 28 of file iterators.hpp.
random_access_const_iterator<t_rac> sdsl::random_access_const_iterator< t_rac >::iterator |
Definition at line 34 of file iterators.hpp.
using sdsl::random_access_const_iterator< t_rac >::iterator_category = std::random_access_iterator_tag |
Definition at line 26 of file iterators.hpp.
using sdsl::random_access_const_iterator< t_rac >::pointer = value_type * |
Definition at line 29 of file iterators.hpp.
using sdsl::random_access_const_iterator< t_rac >::reference = value_type & |
Definition at line 30 of file iterators.hpp.
t_rac::size_type sdsl::random_access_const_iterator< t_rac >::size_type |
Definition at line 33 of file iterators.hpp.
using sdsl::random_access_const_iterator< t_rac >::value_type = typename t_rac::value_type |
Definition at line 27 of file iterators.hpp.
|
inline |
Constructor.
Definition at line 46 of file iterators.hpp.
|
inline |
Definition at line 123 of file iterators.hpp.
|
inline |
Dereference operator for the Iterator.
Definition at line 50 of file iterators.hpp.
|
inline |
Definition at line 101 of file iterators.hpp.
|
inline |
Prefix increment of the Iterator.
Definition at line 56 of file iterators.hpp.
|
inline |
Postfix increment of the Iterator.
Definition at line 63 of file iterators.hpp.
|
inline |
Definition at line 85 of file iterators.hpp.
|
inline |
Definition at line 107 of file iterators.hpp.
|
inline |
Prefix decrement of the Iterator.
Definition at line 71 of file iterators.hpp.
|
inline |
Postfix decrement of the Iterator.
Definition at line 78 of file iterators.hpp.
|
inline |
Definition at line 93 of file iterators.hpp.
|
inline |
Definition at line 128 of file iterators.hpp.
|
inline |
Definition at line 143 of file iterators.hpp.
|
inline |
Definition at line 118 of file iterators.hpp.
|
inline |
Definition at line 133 of file iterators.hpp.
|
inline |
Definition at line 138 of file iterators.hpp.
|
inline |
Definition at line 113 of file iterators.hpp.
|
friend |