SDSL: Succinct Data Structure Library
A C++ template library for succinct data structures
 All Classes Namespaces Files Functions Variables Typedefs Friends
Public Member Functions
sdsl::int_vector_reference< bit_vector > Class Template Reference

List of all members.

Public Member Functions

 int_vector_reference (uint64_t *word, uint8_t offset, uint8_t)
 Constructor for the reference class.
int_vector_referenceoperator= (bool x)
 Assignment operator for the proxy class.
int_vector_referenceoperator= (const int_vector_reference &x)
 operator bool () const
 Cast the reference to a bool.
bool operator== (const int_vector_reference &x) const
bool operator< (const int_vector_reference &x) const

template<>
class sdsl::int_vector_reference< bit_vector >


Constructor & Destructor Documentation

sdsl::int_vector_reference< bit_vector >::int_vector_reference ( uint64_t *  word,
uint8_t  offset,
uint8_t   
) [inline]

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

Member Function Documentation

int_vector_reference& sdsl::int_vector_reference< bit_vector >::operator= ( bool  x) [inline]

Assignment operator for the proxy class.

The integer x is assign to the referenced position in the int_vector with the specified fixedIntWidth of the int_vector

Parameters:
x64bit integer to assign
Returns:
A const_reference to the assigned reference

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