SDSL 3.0.3
Succinct Data Structure Library
Loading...
Searching...
No Matches
sdsl::int_vector_reference< bit_vector > Class Reference

#include <int_vector.hpp>

Public Types

typedef bool value_type
 

Public Member Functions

 int_vector_reference ()=delete
 Default constructor explicitly deleted.
 
constexpr int_vector_reference (int_vector_reference const &) noexcept=default
 Copy and move explicitly defaulted.
 
constexpr int_vector_reference (int_vector_reference &&) noexcept=default
 
 int_vector_reference (uint64_t *word, uint8_t offset, uint8_t) noexcept
 Constructor for the reference class.
 
int_vector_referenceoperator= (bool x) noexcept
 Assignment operator for the proxy class.
 
int_vector_referenceoperator= (int_vector_reference const &x) noexcept
 
int_vector_referenceoperator= (int_vector_reference &&x) noexcept
 
 operator bool () const noexcept
 Cast the reference to a bool.
 
bool operator== (int_vector_reference const &x) const noexcept
 
bool operator< (int_vector_reference const &x) const noexcept
 

Detailed Description

Definition at line 1093 of file int_vector.hpp.

Member Typedef Documentation

◆ value_type

typedef bool sdsl::int_vector_reference< bit_vector >::value_type

Definition at line 1096 of file int_vector.hpp.

Constructor & Destructor Documentation

◆ int_vector_reference() [1/4]

sdsl::int_vector_reference< bit_vector >::int_vector_reference ( )
delete

Default constructor explicitly deleted.

◆ int_vector_reference() [2/4]

sdsl::int_vector_reference< bit_vector >::int_vector_reference ( int_vector_reference< bit_vector > const & )
constexprdefaultnoexcept

Copy and move explicitly defaulted.

◆ int_vector_reference() [3/4]

sdsl::int_vector_reference< bit_vector >::int_vector_reference ( int_vector_reference< bit_vector > && )
constexprdefaultnoexcept

◆ int_vector_reference() [4/4]

sdsl::int_vector_reference< bit_vector >::int_vector_reference ( uint64_t * word,
uint8_t offset,
uint8_t  )
inlinenoexcept

Constructor for the reference class.

Parameters
wordPointer to the corresponding 64bit word in the int_vector.
offsetOffset to the starting bit (offset in [0..63])

Definition at line 1113 of file int_vector.hpp.

Member Function Documentation

◆ operator bool()

sdsl::int_vector_reference< bit_vector >::operator bool ( ) const
inlinenoexcept

Cast the reference to a bool.

Definition at line 1135 of file int_vector.hpp.

◆ operator<()

bool sdsl::int_vector_reference< bit_vector >::operator< ( int_vector_reference< bit_vector > const & x) const
inlinenoexcept

Definition at line 1145 of file int_vector.hpp.

◆ operator=() [1/3]

int_vector_reference & sdsl::int_vector_reference< bit_vector >::operator= ( bool x)
inlinenoexcept

Assignment operator for the proxy class.

Definition at line 1116 of file int_vector.hpp.

◆ operator=() [2/3]

Definition at line 1129 of file int_vector.hpp.

◆ operator=() [3/3]

Definition at line 1125 of file int_vector.hpp.

◆ operator==()

bool sdsl::int_vector_reference< bit_vector >::operator== ( int_vector_reference< bit_vector > const & x) const
inlinenoexcept

Definition at line 1140 of file int_vector.hpp.


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