SDSL 3.0.1
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. More...
 
constexpr int_vector_reference (int_vector_reference const &) noexcept=default
 Copy and move explicitly defaulted. More...
 
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. More...
 
int_vector_referenceoperator= (bool x) noexcept
 Assignment operator for the proxy class. More...
 
int_vector_referenceoperator= (const int_vector_reference &x) noexcept
 
int_vector_referenceoperator= (int_vector_reference &&x) noexcept
 
 operator bool () const noexcept
 Cast the reference to a bool. More...
 
bool operator== (const int_vector_reference &x) const noexcept
 
bool operator< (const int_vector_reference &x) const noexcept
 

Detailed Description

Definition at line 980 of file int_vector.hpp.

Member Typedef Documentation

◆ value_type

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

Definition at line 983 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]

constexpr 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]

constexpr 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 1000 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 1018 of file int_vector.hpp.

◆ operator<()

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

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

◆ operator=() [2/3]

Definition at line 1014 of file int_vector.hpp.

◆ operator=() [3/3]

Definition at line 1015 of file int_vector.hpp.

◆ operator==()

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

Definition at line 1020 of file int_vector.hpp.


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