SDSL 3.0.3
Succinct Data Structure Library
|
A proxy class that acts as a reference to an integer of length len
bits in a int_vector.
More...
#include <int_vector.hpp>
Public Types | |
typedef t_int_vector::value_type | 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 (value_type *word, uint8_t offset, uint8_t len) noexcept | |
Constructor for the reference class. | |
int_vector_reference & | operator= (value_type x) noexcept |
Assignment operator for the proxy class. | |
int_vector_reference & | operator= (int_vector_reference const &x) noexcept |
int_vector_reference & | operator= (int_vector_reference &&x) noexcept |
operator value_type () const noexcept | |
Cast the reference to a int_vector<>::value_type. | |
int_vector_reference & | operator++ () noexcept |
Prefix increment of the proxy object. | |
value_type | operator++ (int) noexcept |
Postfix increment of the proxy object. | |
int_vector_reference & | operator-- () noexcept |
Prefix decrement of the proxy object. | |
value_type | operator-- (int) noexcept |
Postfix decrement of the proxy object. | |
int_vector_reference & | operator+= (const value_type x) noexcept |
Add assign from the proxy object. | |
int_vector_reference & | operator-= (const value_type x) noexcept |
Subtract assign from the proxy object. | |
bool | operator== (int_vector_reference const &x) const noexcept |
bool | operator< (int_vector_reference const &x) const noexcept |
A proxy class that acts as a reference to an integer of length len
bits in a int_vector.
t_int_vector | The specific int_vector class. |
Definition at line 941 of file int_vector.hpp.
t_int_vector::value_type sdsl::int_vector_reference< t_int_vector >::value_type |
Definition at line 944 of file int_vector.hpp.
|
delete |
Default constructor explicitly deleted.
|
constexprdefaultnoexcept |
Copy and move explicitly defaulted.
|
constexprdefaultnoexcept |
|
inlinenoexcept |
Constructor for the reference class.
word | Pointer to the corresponding 64bit word in the int_vector. |
offset | Offset to the starting bit (offset in [0..63]) |
len | length of the integer, should be v->width()!!! |
Definition at line 963 of file int_vector.hpp.
|
inlinenoexcept |
Cast the reference to a int_vector<>::value_type.
Definition at line 993 of file int_vector.hpp.
|
inlinenoexcept |
Prefix increment of the proxy object.
Definition at line 999 of file int_vector.hpp.
|
inlinenoexcept |
Postfix increment of the proxy object.
Definition at line 1007 of file int_vector.hpp.
|
inlinenoexcept |
Add assign from the proxy object.
Definition at line 1031 of file int_vector.hpp.
|
inlinenoexcept |
Prefix decrement of the proxy object.
Definition at line 1015 of file int_vector.hpp.
|
inlinenoexcept |
Postfix decrement of the proxy object.
Definition at line 1023 of file int_vector.hpp.
|
inlinenoexcept |
Subtract assign from the proxy object.
Definition at line 1039 of file int_vector.hpp.
|
inlinenoexcept |
Definition at line 1051 of file int_vector.hpp.
|
inlinenoexcept |
Definition at line 987 of file int_vector.hpp.
|
inlinenoexcept |
Definition at line 982 of file int_vector.hpp.
|
inlinenoexcept |
Assignment operator for the proxy class.
The integer x is assign to the referenced position in the t_int_vector with the specified width of the int_vector
x | 64bit integer to assign |
Definition at line 976 of file int_vector.hpp.
|
inlinenoexcept |
Definition at line 1046 of file int_vector.hpp.