SDSL: Succinct Data Structure Library
A C++ template library for succinct data structures
|
Public Types | |
typedef const reference | const_reference |
typedef enc_vector_theo_const_iterator < EncVector > | const_iterator |
typedef EncVector::size_type | size_type |
typedef EncVector::value_type | value_type |
typedef EncVector::difference_type | difference_type |
Public Member Functions | |
enc_vector_theo_const_iterator (const EncVector *v, size_type idx=0) | |
Constructor. | |
enc_vector_theo_const_iterator (const enc_vector_theo_const_iterator &it) | |
const_reference | operator* () |
const_iterator & | operator++ () |
Prefix increment of the Iterator. | |
const_iterator | operator++ (int x) |
Postfix increment of the Iterator. | |
const_iterator & | operator-- () |
Prefix decrement of the Iterator. | |
const_iterator | operator-- (int x) |
Postfix decrement of the Iterator. | |
const_iterator & | operator+= (difference_type i) |
const_iterator & | operator-= (difference_type i) |
const_iterator | operator+ (difference_type i) const |
const_iterator | operator- (difference_type i) const |
const_reference | operator[] (difference_type i) const |
bool | operator== (const enc_vector_theo_const_iterator &it) const |
bool | operator!= (const enc_vector_theo_const_iterator &it) const |
bool | operator< (const enc_vector_theo_const_iterator &it) const |
bool | operator> (const enc_vector_theo_const_iterator &it) const |
bool | operator>= (const enc_vector_theo_const_iterator &it) const |
bool | operator<= (const enc_vector_theo_const_iterator &it) const |
Public Attributes | |
const EncVector * | m_v |
value_type | m_decoded_val [((size_type(EncVector::sample_dens))<< 6)/EncVector::coder::min_codeword_length+1] |
size_type | m_decoded_val_start_idx |
size_type | m_decoded_val_end_idx |
size_type | m_idx |
Static Public Attributes | |
static const size_type | m_decoded_val_size = ((size_type(EncVector::sample_dens))<<6)/EncVector::coder::min_codeword_length |
sdsl::enc_vector_theo_const_iterator< EncVector >::enc_vector_theo_const_iterator | ( | const EncVector * | v, |
size_type | idx = 0 |
||
) | [inline] |
Constructor.
v | Pointer to the enc_vector_theo that is supported. |
idx | Index of the i-th element. |