SDSL 3.0.3
Succinct Data Structure Library
Loading...
Searching...
No Matches
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 (int_vector_iterator< t_int_vector > const &it)
reference operator* () const
iteratoroperator++ ()
 Prefix increment of the Iterator.
iterator operator++ (int)
 Postfix increment of the Iterator.
iteratoroperator-- ()
 Prefix decrement of the Iterator.
iterator operator-- (int)
 Postfix decrement of the Iterator.
iteratoroperator+= (difference_type i)
iteratoroperator-= (difference_type i)
iteratoroperator= (int_vector_iterator< t_int_vector > const &it)
iterator operator+ (difference_type i) const
iterator operator- (difference_type i) const
reference operator[] (difference_type i) const
bool operator== (int_vector_iterator const &it) const noexcept
bool operator!= (int_vector_iterator const &it) const noexcept
bool operator< (int_vector_iterator const &it) const noexcept
bool operator> (int_vector_iterator const &it) const noexcept
bool operator>= (int_vector_iterator const &it) const noexcept
bool operator<= (int_vector_iterator const &it) const noexcept
difference_type operator- (int_vector_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_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 1208 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 1216 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 1213 of file int_vector.hpp.

◆ pointer

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

Definition at line 1214 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 1211 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 1215 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 1212 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 1227 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 ( int_vector_iterator< t_int_vector > const & it)
inline

Definition at line 1232 of file int_vector.hpp.

Member Function Documentation

◆ operator!=()

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

Definition at line 1346 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 1240 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 1324 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 1246 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 1258 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 1285 of file int_vector.hpp.

◆ operator-() [1/2]

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

Definition at line 1330 of file int_vector.hpp.

◆ operator-() [2/2]

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

Definition at line 1374 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 1266 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 1278 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 1299 of file int_vector.hpp.

◆ operator<()

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

Definition at line 1351 of file int_vector.hpp.

◆ operator<=()

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

Definition at line 1370 of file int_vector.hpp.

◆ operator=()

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

Definition at line 1313 of file int_vector.hpp.

◆ operator==()

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

Definition at line 1341 of file int_vector.hpp.

◆ operator>()

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

Definition at line 1358 of file int_vector.hpp.

◆ operator>=()

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

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

◆ 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 1216 of file int_vector.hpp.


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