SDSL 3.0.1
Succinct Data Structure Library
sdsl::int_vector_buffer< t_width >::reference Class Reference

#include <int_vector_buffer.hpp>

Public Member Functions

 operator uint64_t () const
 Conversion to int for read operations. More...
 
referenceoperator= (const uint64_t &val)
 Assignment operator for write operations. More...
 
referenceoperator= (reference &x)
 Assignment operator. More...
 
 reference (reference const &)=default
 
referenceoperator++ ()
 Prefix increment of the proxy object. More...
 
uint64_t operator++ (int)
 Postfix increment of the proxy object. More...
 
referenceoperator-- ()
 Prefix decrement of the proxy object. More...
 
uint64_t operator-- (int)
 Postfix decrement of the proxy object. More...
 
referenceoperator+= (const uint64_t x)
 Add assign from the proxy object. More...
 
referenceoperator-= (const uint64_t x)
 Subtract assign from the proxy object. More...
 
bool operator== (const reference &x) const
 
bool operator< (const reference &x) const
 

Friends

class int_vector_buffer< t_width >
 

Detailed Description

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

Definition at line 346 of file int_vector_buffer.hpp.

Constructor & Destructor Documentation

◆ reference()

template<uint8_t t_width = 0>
sdsl::int_vector_buffer< t_width >::reference::reference ( reference const &  )
default

Member Function Documentation

◆ operator uint64_t()

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

Conversion to int for read operations.

Definition at line 363 of file int_vector_buffer.hpp.

◆ operator++() [1/2]

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

Prefix increment of the proxy object.

Definition at line 378 of file int_vector_buffer.hpp.

◆ operator++() [2/2]

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

Postfix increment of the proxy object.

Definition at line 386 of file int_vector_buffer.hpp.

◆ operator+=()

template<uint8_t t_width = 0>
reference & sdsl::int_vector_buffer< t_width >::reference::operator+= ( const uint64_t  x)
inline

Add assign from the proxy object.

Definition at line 410 of file int_vector_buffer.hpp.

◆ operator--() [1/2]

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

Prefix decrement of the proxy object.

Definition at line 394 of file int_vector_buffer.hpp.

◆ operator--() [2/2]

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

Postfix decrement of the proxy object.

Definition at line 402 of file int_vector_buffer.hpp.

◆ operator-=()

template<uint8_t t_width = 0>
reference & sdsl::int_vector_buffer< t_width >::reference::operator-= ( const uint64_t  x)
inline

Subtract assign from the proxy object.

Definition at line 418 of file int_vector_buffer.hpp.

◆ operator<()

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

Definition at line 427 of file int_vector_buffer.hpp.

◆ operator=() [1/2]

template<uint8_t t_width = 0>
reference & sdsl::int_vector_buffer< t_width >::reference::operator= ( const uint64_t &  val)
inline

Assignment operator for write operations.

Definition at line 366 of file int_vector_buffer.hpp.

◆ operator=() [2/2]

template<uint8_t t_width = 0>
reference & sdsl::int_vector_buffer< t_width >::reference::operator= ( reference x)
inline

Assignment operator.

Definition at line 373 of file int_vector_buffer.hpp.

◆ operator==()

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

Definition at line 425 of file int_vector_buffer.hpp.

Friends And Related Function Documentation

◆ int_vector_buffer< t_width >

template<uint8_t t_width = 0>
friend class int_vector_buffer< t_width >
friend

Definition at line 344 of file int_vector_buffer.hpp.


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