SDSL 3.0.3
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 (t_int_vector const *v=nullptr, size_type idx=0)
 int_vector_const_iterator (int_vector_iterator< t_int_vector > const &it)
 int_vector_const_iterator (int_vector_const_iterator const &)=default
int_vector_const_iteratoroperator= (int_vector_const_iterator const &)=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== (int_vector_const_iterator const &it) const noexcept
bool operator!= (int_vector_const_iterator const &it) const noexcept
bool operator< (int_vector_const_iterator const &it) const noexcept
bool operator> (int_vector_const_iterator const &it) const noexcept
bool operator>= (int_vector_const_iterator const &it) const noexcept
bool operator<= (int_vector_const_iterator const &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 (t_int_vector const *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- (int_vector_const_iterator< X > const &x, int_vector_const_iterator< X > const &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 1393 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 1398 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 1396 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 1400 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 1397 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 1399 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 ( t_int_vector const * v = nullptr,
size_type idx = 0 )
inline

Definition at line 1415 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 ( int_vector_iterator< t_int_vector > const & it)
inline

Definition at line 1420 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 ( int_vector_const_iterator< t_int_vector > const & )
default

Member Function Documentation

◆ operator!=()

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

Definition at line 1529 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 1430 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 1507 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 1440 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 1452 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 1479 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 1513 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 1460 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 1472 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 1493 of file int_vector.hpp.

◆ operator<()

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

Definition at line 1534 of file int_vector.hpp.

◆ operator<=()

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

Definition at line 1553 of file int_vector.hpp.

◆ operator=()

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

◆ operator==()

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

Definition at line 1524 of file int_vector.hpp.

◆ operator>()

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

Definition at line 1541 of file int_vector.hpp.

◆ operator>=()

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

Definition at line 1548 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 1519 of file int_vector.hpp.

◆ int_vector_iterator< t_int_vector >

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

Definition at line 1403 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 1403 of file int_vector.hpp.

◆ operator-

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

The documentation for this class was generated from the following file:
  • /builddir/build/BUILD/sdsl-lite-3.0.3-build/sdsl-lite-3.0.3/include/sdsl/int_vector.hpp