SDSL 3.0.2
Succinct Data Structure Library
Loading...
Searching...
No Matches
sdsl::int_vector_buffer< t_width >::iterator Class Reference

#include <int_vector_buffer.hpp>

Public Types

using iterator_category = std::random_access_iterator_tag
 
using value_type = sdsl::int_vector_buffer< t_width >::value_type
 
using difference_type = sdsl::int_vector_buffer< t_width >::difference_type
 
using pointer = value_type *
 
using reference = sdsl::int_vector_buffer< t_width >::reference
 

Public Member Functions

 iterator ()=delete
 
 iterator (int_vector_buffer< t_width > &ivb, uint64_t idx=0)
 
iteratoroperator++ ()
 
iterator operator++ (int)
 
iteratoroperator-- ()
 
iterator operator-- (int)
 
reference operator* () const
 
iteratoroperator+= (difference_type i)
 
iteratoroperator-= (difference_type i)
 
iterator operator+ (difference_type i) const
 
iterator operator- (difference_type i) const
 
bool operator== (iterator const &it) const
 
bool operator!= (iterator const &it) const
 
difference_type operator- (iterator const &it)
 

Detailed Description

template<uint8_t t_width = 0>
class sdsl::int_vector_buffer< t_width >::iterator

Definition at line 493 of file int_vector_buffer.hpp.

Member Typedef Documentation

◆ difference_type

template<uint8_t t_width = 0>
using sdsl::int_vector_buffer< t_width >::iterator::difference_type = sdsl::int_vector_buffer<t_width>::difference_type

Definition at line 502 of file int_vector_buffer.hpp.

◆ iterator_category

template<uint8_t t_width = 0>
using sdsl::int_vector_buffer< t_width >::iterator::iterator_category = std::random_access_iterator_tag

Definition at line 500 of file int_vector_buffer.hpp.

◆ pointer

template<uint8_t t_width = 0>
using sdsl::int_vector_buffer< t_width >::iterator::pointer = value_type *

Definition at line 503 of file int_vector_buffer.hpp.

◆ reference

template<uint8_t t_width = 0>
using sdsl::int_vector_buffer< t_width >::iterator::reference = sdsl::int_vector_buffer<t_width>::reference

Definition at line 504 of file int_vector_buffer.hpp.

◆ value_type

template<uint8_t t_width = 0>
using sdsl::int_vector_buffer< t_width >::iterator::value_type = sdsl::int_vector_buffer<t_width>::value_type

Definition at line 501 of file int_vector_buffer.hpp.

Constructor & Destructor Documentation

◆ iterator() [1/2]

template<uint8_t t_width = 0>
sdsl::int_vector_buffer< t_width >::iterator::iterator ( )
delete

◆ iterator() [2/2]

template<uint8_t t_width = 0>
sdsl::int_vector_buffer< t_width >::iterator::iterator ( int_vector_buffer< t_width > &  ivb,
uint64_t  idx = 0 
)
inline

Definition at line 507 of file int_vector_buffer.hpp.

Member Function Documentation

◆ operator!=()

template<uint8_t t_width = 0>
bool sdsl::int_vector_buffer< t_width >::iterator::operator!= ( iterator const &  it) const
inline

Definition at line 574 of file int_vector_buffer.hpp.

◆ operator*()

template<uint8_t t_width = 0>
reference sdsl::int_vector_buffer< t_width >::iterator::operator* ( ) const
inline

Definition at line 536 of file int_vector_buffer.hpp.

◆ operator+()

template<uint8_t t_width = 0>
iterator sdsl::int_vector_buffer< t_width >::iterator::operator+ ( difference_type  i) const
inline

Definition at line 557 of file int_vector_buffer.hpp.

◆ operator++() [1/2]

template<uint8_t t_width = 0>
iterator & sdsl::int_vector_buffer< t_width >::iterator::operator++ ( )
inline

Definition at line 510 of file int_vector_buffer.hpp.

◆ operator++() [2/2]

template<uint8_t t_width = 0>
iterator sdsl::int_vector_buffer< t_width >::iterator::operator++ ( int  )
inline

Definition at line 516 of file int_vector_buffer.hpp.

◆ operator+=()

template<uint8_t t_width = 0>
iterator & sdsl::int_vector_buffer< t_width >::iterator::operator+= ( difference_type  i)
inline

Definition at line 541 of file int_vector_buffer.hpp.

◆ operator-() [1/2]

template<uint8_t t_width = 0>
iterator sdsl::int_vector_buffer< t_width >::iterator::operator- ( difference_type  i) const
inline

Definition at line 563 of file int_vector_buffer.hpp.

◆ operator-() [2/2]

template<uint8_t t_width = 0>
difference_type sdsl::int_vector_buffer< t_width >::iterator::operator- ( iterator const &  it)
inline

Definition at line 578 of file int_vector_buffer.hpp.

◆ operator--() [1/2]

template<uint8_t t_width = 0>
iterator & sdsl::int_vector_buffer< t_width >::iterator::operator-- ( )
inline

Definition at line 523 of file int_vector_buffer.hpp.

◆ operator--() [2/2]

template<uint8_t t_width = 0>
iterator sdsl::int_vector_buffer< t_width >::iterator::operator-- ( int  )
inline

Definition at line 529 of file int_vector_buffer.hpp.

◆ operator-=()

template<uint8_t t_width = 0>
iterator & sdsl::int_vector_buffer< t_width >::iterator::operator-= ( difference_type  i)
inline

Definition at line 549 of file int_vector_buffer.hpp.

◆ operator==()

template<uint8_t t_width = 0>
bool sdsl::int_vector_buffer< t_width >::iterator::operator== ( iterator const &  it) const
inline

Definition at line 569 of file int_vector_buffer.hpp.


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