SDSL 3.0.1
Succinct Data Structure Library
sdsl::int_vector_iterator< t_int_vector > Class Template Reference

#include <int_vector.hpp>

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

Public Types

typedef int_vector_reference< t_int_vector > reference
 
typedef uint64_t value_type
 
typedef int_vector_iterator iterator
 
typedef referencepointer
 
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_iterator (t_int_vector *v=nullptr, size_type idx=0)
 
 int_vector_iterator (const int_vector_iterator< t_int_vector > &it)
 
reference operator* () const
 
iteratoroperator++ ()
 Prefix increment of the Iterator. More...
 
iterator operator++ (int)
 Postfix increment of the Iterator. More...
 
iteratoroperator-- ()
 Prefix decrement of the Iterator. More...
 
iterator operator-- (int)
 Postfix decrement of the Iterator. More...
 
iteratoroperator+= (difference_type i)
 
iteratoroperator-= (difference_type i)
 
iteratoroperator= (const int_vector_iterator< t_int_vector > &it)
 
iterator operator+ (difference_type i) const
 
iterator operator- (difference_type i) const
 
reference operator[] (difference_type i) const
 
bool operator== (const int_vector_iterator &it) const noexcept
 
bool operator!= (const int_vector_iterator &it) const noexcept
 
bool operator< (const int_vector_iterator &it) const noexcept
 
bool operator> (const int_vector_iterator &it) const noexcept
 
bool operator>= (const int_vector_iterator &it) const noexcept
 
bool operator<= (const int_vector_iterator &it) const noexcept
 
difference_type operator- (const int_vector_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_const_iterator< t_int_vector >
 

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_iterator< t_int_vector >

Definition at line 1084 of file int_vector.hpp.

Member Typedef Documentation

◆ difference_type

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

Definition at line 1092 of file int_vector.hpp.

◆ iterator

template<class t_int_vector >
typedef int_vector_iterator sdsl::int_vector_iterator< t_int_vector >::iterator

Definition at line 1089 of file int_vector.hpp.

◆ pointer

template<class t_int_vector >
typedef reference* sdsl::int_vector_iterator< t_int_vector >::pointer

Definition at line 1090 of file int_vector.hpp.

◆ reference

template<class t_int_vector >
typedef int_vector_reference<t_int_vector> sdsl::int_vector_iterator< t_int_vector >::reference

Definition at line 1087 of file int_vector.hpp.

◆ size_type

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

Definition at line 1091 of file int_vector.hpp.

◆ value_type

template<class t_int_vector >
typedef uint64_t sdsl::int_vector_iterator< t_int_vector >::value_type

Definition at line 1088 of file int_vector.hpp.

Constructor & Destructor Documentation

◆ int_vector_iterator() [1/2]

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

Definition at line 1103 of file int_vector.hpp.

◆ int_vector_iterator() [2/2]

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

Definition at line 1108 of file int_vector.hpp.

Member Function Documentation

◆ operator!=()

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

Definition at line 1214 of file int_vector.hpp.

◆ operator*()

template<class t_int_vector >
reference sdsl::int_vector_iterator< t_int_vector >::operator* ( ) const
inline

Definition at line 1116 of file int_vector.hpp.

◆ operator+()

template<class t_int_vector >
iterator sdsl::int_vector_iterator< t_int_vector >::operator+ ( difference_type  i) const
inline

Definition at line 1195 of file int_vector.hpp.

◆ operator++() [1/2]

template<class t_int_vector >
iterator & sdsl::int_vector_iterator< t_int_vector >::operator++ ( )
inline

Prefix increment of the Iterator.

Definition at line 1119 of file int_vector.hpp.

◆ operator++() [2/2]

template<class t_int_vector >
iterator sdsl::int_vector_iterator< t_int_vector >::operator++ ( int  )
inline

Postfix increment of the Iterator.

Definition at line 1131 of file int_vector.hpp.

◆ operator+=()

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

Definition at line 1158 of file int_vector.hpp.

◆ operator-() [1/2]

template<class t_int_vector >
difference_type sdsl::int_vector_iterator< t_int_vector >::operator- ( const int_vector_iterator< t_int_vector > &  it) const
inlinenoexcept

Definition at line 1231 of file int_vector.hpp.

◆ operator-() [2/2]

template<class t_int_vector >
iterator sdsl::int_vector_iterator< t_int_vector >::operator- ( difference_type  i) const
inline

Definition at line 1201 of file int_vector.hpp.

◆ operator--() [1/2]

template<class t_int_vector >
iterator & sdsl::int_vector_iterator< t_int_vector >::operator-- ( )
inline

Prefix decrement of the Iterator.

Definition at line 1139 of file int_vector.hpp.

◆ operator--() [2/2]

template<class t_int_vector >
iterator sdsl::int_vector_iterator< t_int_vector >::operator-- ( int  )
inline

Postfix decrement of the Iterator.

Definition at line 1151 of file int_vector.hpp.

◆ operator-=()

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

Definition at line 1171 of file int_vector.hpp.

◆ operator<()

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

Definition at line 1216 of file int_vector.hpp.

◆ operator<=()

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

Definition at line 1230 of file int_vector.hpp.

◆ operator=()

template<class t_int_vector >
iterator & sdsl::int_vector_iterator< t_int_vector >::operator= ( const int_vector_iterator< t_int_vector > &  it)
inline

Definition at line 1184 of file int_vector.hpp.

◆ operator==()

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

Definition at line 1209 of file int_vector.hpp.

◆ operator>()

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

Definition at line 1222 of file int_vector.hpp.

◆ operator>=()

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

Definition at line 1228 of file int_vector.hpp.

◆ operator[]()

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

Definition at line 1207 of file int_vector.hpp.

Friends And Related Function Documentation

◆ int_vector_const_iterator< t_int_vector >

template<class t_int_vector >
friend class int_vector_const_iterator< t_int_vector >
friend

Definition at line 1092 of file int_vector.hpp.


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