SDSL 3.0.1
Succinct Data Structure Library
Loading...
Searching...
No Matches
sdsl::int_vector_const_iterator< t_int_vector > Class Template Reference

#include <int_vector.hpp>

Inheritance diagram for sdsl::int_vector_const_iterator< t_int_vector >:
sdsl::int_vector_iterator_base< t_int_vector >

Public Types

typedef t_int_vector::value_type const_reference
 
typedef const t_int_vector::value_type * pointer
 
typedef int_vector_const_iterator const_iterator
 
typedef t_int_vector::size_type size_type
 
typedef t_int_vector::difference_type difference_type
 
- Public Types inherited from sdsl::int_vector_iterator_base< t_int_vector >
using iterator_category = std::random_access_iterator_tag
 
using value_type = typename t_int_vector::value_type
 
using difference_type = typename t_int_vector::difference_type
 
using pointer = value_type *
 
using reference = value_type &
 
typedef uint64_t size_type
 

Public Member Functions

 int_vector_const_iterator (const t_int_vector *v=nullptr, size_type idx=0)
 
 int_vector_const_iterator (const int_vector_iterator< t_int_vector > &it)
 
 int_vector_const_iterator (const int_vector_const_iterator &)=default
 
int_vector_const_iteratoroperator= (const int_vector_const_iterator &)=default
 
const_reference operator* () const
 
const_iteratoroperator++ ()
 Prefix increment of the Iterator.
 
const_iterator operator++ (int)
 Postfix increment of the Iterator.
 
const_iteratoroperator-- ()
 Prefix decrement of the Iterator.
 
const_iterator operator-- (int)
 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 int_vector_const_iterator &it) const noexcept
 
bool operator!= (const int_vector_const_iterator &it) const noexcept
 
bool operator< (const int_vector_const_iterator &it) const noexcept
 
bool operator> (const int_vector_const_iterator &it) const noexcept
 
bool operator>= (const int_vector_const_iterator &it) const noexcept
 
bool operator<= (const int_vector_const_iterator &it) const noexcept
 
- Public Member Functions inherited from sdsl::int_vector_iterator_base< t_int_vector >
 int_vector_iterator_base (uint8_t offset, uint8_t len)
 
 int_vector_iterator_base (const t_int_vector *v=nullptr, size_type idx=0)
 

Friends

class int_vector_iterator< t_int_vector >
 
class int_vector_iterator_base< t_int_vector >
 
template<class X >
int_vector_const_iterator< X >::difference_type operator- (const int_vector_const_iterator< X > &x, const int_vector_const_iterator< X > &y)
 

Additional Inherited Members

- Protected Attributes inherited from sdsl::int_vector_iterator_base< t_int_vector >
uint8_t m_offset
 
uint8_t m_len
 

Detailed Description

template<class t_int_vector>
class sdsl::int_vector_const_iterator< t_int_vector >

Definition at line 1250 of file int_vector.hpp.

Member Typedef Documentation

◆ const_iterator

template<class t_int_vector >
typedef int_vector_const_iterator sdsl::int_vector_const_iterator< t_int_vector >::const_iterator

Definition at line 1255 of file int_vector.hpp.

◆ const_reference

template<class t_int_vector >
typedef t_int_vector::value_type sdsl::int_vector_const_iterator< t_int_vector >::const_reference

Definition at line 1253 of file int_vector.hpp.

◆ difference_type

template<class t_int_vector >
typedef t_int_vector::difference_type sdsl::int_vector_const_iterator< t_int_vector >::difference_type

Definition at line 1257 of file int_vector.hpp.

◆ pointer

template<class t_int_vector >
typedef const t_int_vector::value_type* sdsl::int_vector_const_iterator< t_int_vector >::pointer

Definition at line 1254 of file int_vector.hpp.

◆ size_type

template<class t_int_vector >
typedef t_int_vector::size_type sdsl::int_vector_const_iterator< t_int_vector >::size_type

Definition at line 1256 of file int_vector.hpp.

Constructor & Destructor Documentation

◆ int_vector_const_iterator() [1/3]

template<class t_int_vector >
sdsl::int_vector_const_iterator< t_int_vector >::int_vector_const_iterator ( const t_int_vector *  v = nullptr,
size_type  idx = 0 
)
inline

Definition at line 1272 of file int_vector.hpp.

◆ int_vector_const_iterator() [2/3]

template<class t_int_vector >
sdsl::int_vector_const_iterator< t_int_vector >::int_vector_const_iterator ( const int_vector_iterator< t_int_vector > &  it)
inline

Definition at line 1277 of file int_vector.hpp.

◆ int_vector_const_iterator() [3/3]

template<class t_int_vector >
sdsl::int_vector_const_iterator< t_int_vector >::int_vector_const_iterator ( const int_vector_const_iterator< t_int_vector > &  )
default

Member Function Documentation

◆ operator!=()

template<class t_int_vector >
bool sdsl::int_vector_const_iterator< t_int_vector >::operator!= ( const int_vector_const_iterator< t_int_vector > &  it) const
inlinenoexcept

Definition at line 1379 of file int_vector.hpp.

◆ operator*()

template<class t_int_vector >
const_reference sdsl::int_vector_const_iterator< t_int_vector >::operator* ( ) const
inline

Definition at line 1288 of file int_vector.hpp.

◆ operator+()

template<class t_int_vector >
const_iterator sdsl::int_vector_const_iterator< t_int_vector >::operator+ ( difference_type  i) const
inline

Definition at line 1360 of file int_vector.hpp.

◆ operator++() [1/2]

template<class t_int_vector >
const_iterator & sdsl::int_vector_const_iterator< t_int_vector >::operator++ ( )
inline

Prefix increment of the Iterator.

Definition at line 1295 of file int_vector.hpp.

◆ operator++() [2/2]

template<class t_int_vector >
const_iterator sdsl::int_vector_const_iterator< t_int_vector >::operator++ ( int  )
inline

Postfix increment of the Iterator.

Definition at line 1307 of file int_vector.hpp.

◆ operator+=()

template<class t_int_vector >
const_iterator & sdsl::int_vector_const_iterator< t_int_vector >::operator+= ( difference_type  i)
inline

Definition at line 1334 of file int_vector.hpp.

◆ operator-()

template<class t_int_vector >
const_iterator sdsl::int_vector_const_iterator< t_int_vector >::operator- ( difference_type  i) const
inline

Definition at line 1366 of file int_vector.hpp.

◆ operator--() [1/2]

template<class t_int_vector >
const_iterator & sdsl::int_vector_const_iterator< t_int_vector >::operator-- ( )
inline

Prefix decrement of the Iterator.

Definition at line 1315 of file int_vector.hpp.

◆ operator--() [2/2]

template<class t_int_vector >
const_iterator sdsl::int_vector_const_iterator< t_int_vector >::operator-- ( int  )
inline

Postfix decrement of the Iterator.

Definition at line 1327 of file int_vector.hpp.

◆ operator-=()

template<class t_int_vector >
const_iterator & sdsl::int_vector_const_iterator< t_int_vector >::operator-= ( difference_type  i)
inline

Definition at line 1347 of file int_vector.hpp.

◆ operator<()

template<class t_int_vector >
bool sdsl::int_vector_const_iterator< t_int_vector >::operator< ( const int_vector_const_iterator< t_int_vector > &  it) const
inlinenoexcept

Definition at line 1381 of file int_vector.hpp.

◆ operator<=()

template<class t_int_vector >
bool sdsl::int_vector_const_iterator< t_int_vector >::operator<= ( const int_vector_const_iterator< t_int_vector > &  it) const
inlinenoexcept

Definition at line 1395 of file int_vector.hpp.

◆ operator=()

template<class t_int_vector >
int_vector_const_iterator & sdsl::int_vector_const_iterator< t_int_vector >::operator= ( const int_vector_const_iterator< t_int_vector > &  )
default

◆ operator==()

template<class t_int_vector >
bool sdsl::int_vector_const_iterator< t_int_vector >::operator== ( const int_vector_const_iterator< t_int_vector > &  it) const
inlinenoexcept

Definition at line 1374 of file int_vector.hpp.

◆ operator>()

template<class t_int_vector >
bool sdsl::int_vector_const_iterator< t_int_vector >::operator> ( const int_vector_const_iterator< t_int_vector > &  it) const
inlinenoexcept

Definition at line 1387 of file int_vector.hpp.

◆ operator>=()

template<class t_int_vector >
bool sdsl::int_vector_const_iterator< t_int_vector >::operator>= ( const int_vector_const_iterator< t_int_vector > &  it) const
inlinenoexcept

Definition at line 1393 of file int_vector.hpp.

◆ operator[]()

template<class t_int_vector >
const_reference sdsl::int_vector_const_iterator< t_int_vector >::operator[] ( difference_type  i) const
inline

Definition at line 1372 of file int_vector.hpp.

Friends And Related Function Documentation

◆ int_vector_iterator< t_int_vector >

template<class t_int_vector >
friend class int_vector_iterator< t_int_vector >
friend

Definition at line 1260 of file int_vector.hpp.

◆ int_vector_iterator_base< t_int_vector >

template<class t_int_vector >
friend class int_vector_iterator_base< t_int_vector >
friend

Definition at line 1260 of file int_vector.hpp.

◆ operator-

template<class t_int_vector >
template<class X >
int_vector_const_iterator< X >::difference_type operator- ( const int_vector_const_iterator< X > &  x,
const int_vector_const_iterator< X > &  y 
)
friend

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