SDSL
3.0.0
Succinct Data Structure Library
|
Generic iterator for a random access container. More...
#include <iterators.hpp>
Public Types | |
typedef const t_rac::value_type | const_reference |
typedef t_rac::size_type | size_type |
typedef random_access_const_iterator< t_rac > | iterator |
typedef t_rac::difference_type | difference_type |
Public Member Functions | |
random_access_const_iterator (const t_rac *rac, size_type idx=0) | |
Constructor. More... | |
const_reference | operator* () const |
Dereference operator for the Iterator. More... | |
iterator & | operator++ () |
Prefix increment of the Iterator. More... | |
iterator | operator++ (int) |
Postfix increment of the Iterator. More... | |
iterator & | operator-- () |
Prefix decrement of the Iterator. More... | |
iterator | operator-- (int) |
Postfix decrement of the Iterator. More... | |
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== (const iterator &it) const |
bool | operator!= (const iterator &it) const |
bool | operator< (const iterator &it) const |
bool | operator> (const iterator &it) const |
bool | operator>= (const iterator &it) const |
bool | operator<= (const iterator &it) const |
Friends | |
template<class t_RAC > | |
random_access_const_iterator< t_RAC >::difference_type | operator- (const random_access_const_iterator< t_RAC > &x, const random_access_const_iterator< t_RAC > &y) |
Generic iterator for a random access container.
t_rac | Type of random access container. |
Definition at line 22 of file iterators.hpp.
typedef const t_rac::value_type sdsl::random_access_const_iterator< t_rac >::const_reference |
Definition at line 26 of file iterators.hpp.
typedef t_rac::difference_type sdsl::random_access_const_iterator< t_rac >::difference_type |
Definition at line 29 of file iterators.hpp.
typedef random_access_const_iterator<t_rac> sdsl::random_access_const_iterator< t_rac >::iterator |
Definition at line 28 of file iterators.hpp.
typedef t_rac::size_type sdsl::random_access_const_iterator< t_rac >::size_type |
Definition at line 27 of file iterators.hpp.
|
inline |
Constructor.
Definition at line 42 of file iterators.hpp.
|
inline |
Definition at line 110 of file iterators.hpp.
|
inline |
Dereference operator for the Iterator.
Definition at line 48 of file iterators.hpp.
|
inline |
Definition at line 94 of file iterators.hpp.
|
inline |
Prefix increment of the Iterator.
Definition at line 51 of file iterators.hpp.
|
inline |
Postfix increment of the Iterator.
Definition at line 58 of file iterators.hpp.
|
inline |
Definition at line 80 of file iterators.hpp.
|
inline |
Definition at line 100 of file iterators.hpp.
|
inline |
Prefix decrement of the Iterator.
Definition at line 66 of file iterators.hpp.
|
inline |
Postfix decrement of the Iterator.
Definition at line 73 of file iterators.hpp.
|
inline |
Definition at line 87 of file iterators.hpp.
|
inline |
Definition at line 112 of file iterators.hpp.
|
inline |
Definition at line 118 of file iterators.hpp.
|
inline |
Definition at line 108 of file iterators.hpp.
|
inline |
Definition at line 114 of file iterators.hpp.
|
inline |
Definition at line 116 of file iterators.hpp.
|
inline |
Definition at line 106 of file iterators.hpp.
|
friend |