SDSL 3.0.1
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. 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 (value_type *word, uint8_t offset, uint8_t len) noexcept | |
Constructor for the reference class. More... | |
int_vector_reference & | operator= (value_type x) noexcept |
Assignment operator for the proxy class. More... | |
int_vector_reference & | operator= (const int_vector_reference &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. More... | |
int_vector_reference & | operator++ () noexcept |
Prefix increment of the proxy object. More... | |
value_type | operator++ (int) noexcept |
Postfix increment of the proxy object. More... | |
int_vector_reference & | operator-- () noexcept |
Prefix decrement of the proxy object. More... | |
value_type | operator-- (int) noexcept |
Postfix decrement of the proxy object. More... | |
int_vector_reference & | operator+= (const value_type x) noexcept |
Add assign from the proxy object. More... | |
int_vector_reference & | operator-= (const value_type x) noexcept |
Subtract assign from the proxy object. More... | |
bool | operator== (const int_vector_reference &x) const noexcept |
bool | operator< (const int_vector_reference &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 844 of file int_vector.hpp.
typedef t_int_vector::value_type sdsl::int_vector_reference< t_int_vector >::value_type |
Definition at line 847 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 865 of file int_vector.hpp.
|
inlinenoexcept |
Cast the reference to a int_vector<>::value_type.
Definition at line 889 of file int_vector.hpp.
|
inlinenoexcept |
Prefix increment of the proxy object.
Definition at line 892 of file int_vector.hpp.
|
inlinenoexcept |
Postfix increment of the proxy object.
Definition at line 900 of file int_vector.hpp.
|
inlinenoexcept |
Add assign from the proxy object.
Definition at line 924 of file int_vector.hpp.
|
inlinenoexcept |
Prefix decrement of the proxy object.
Definition at line 908 of file int_vector.hpp.
|
inlinenoexcept |
Postfix decrement of the proxy object.
Definition at line 916 of file int_vector.hpp.
|
inlinenoexcept |
Subtract assign from the proxy object.
Definition at line 932 of file int_vector.hpp.
|
inlinenoexcept |
Definition at line 941 of file int_vector.hpp.
|
inlinenoexcept |
Definition at line 884 of file int_vector.hpp.
|
inlinenoexcept |
Definition at line 886 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 878 of file int_vector.hpp.
|
inlinenoexcept |
Definition at line 939 of file int_vector.hpp.