SDSL: Succinct Data Structure Library
A C++ template library for succinct data structures
 All Classes Namespaces Files Functions Variables Typedefs Friends
Public Types | Public Member Functions | Public Attributes | Static Public Attributes
sdsl::enc_vector_theo_const_iterator< EncVector > Struct Template Reference

List of all members.

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_iteratoroperator++ ()
 Prefix increment of the Iterator.
const_iterator operator++ (int x)
 Postfix increment of the Iterator.
const_iteratoroperator-- ()
 Prefix decrement of the Iterator.
const_iterator operator-- (int x)
 Postfix decrement of the Iterator.
const_iteratoroperator+= (difference_type i)
const_iteratoroperator-= (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

template<class EncVector>
struct sdsl::enc_vector_theo_const_iterator< EncVector >


Constructor & Destructor Documentation

template<class EncVector>
sdsl::enc_vector_theo_const_iterator< EncVector >::enc_vector_theo_const_iterator ( const EncVector *  v,
size_type  idx = 0 
) [inline]

Constructor.

Parameters:
vPointer to the enc_vector_theo that is supported.
idxIndex of the i-th element. $idx\in [0..v->size()]$

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