SDSL: Succinct Data Structure Library
A C++ template library for succinct data structures
|
A class for reading an int_vector buffered from a file. More...
#include <int_vector.hpp>
Public Types | |
typedef int_vector < fixedIntWidth, size_type_class >::size_type | size_type |
typedef int_vector < fixedIntWidth, size_type_class >::value_type | value_type |
typedef int_vector < fixedIntWidth, size_type_class > ::const_reference | const_reference |
typedef int_vector < fixedIntWidth, size_type_class >::reference | reference |
typedef int_vector < fixedIntWidth, size_type_class > ::int_width_type | int_width_type |
Public Member Functions | |
int_vector_file_buffer (const char *f_file_name=NULL, size_type len=1000000, uint8_t int_width=0) | |
Constructor. | |
bool | load_from_plain (const char *f_file_name, size_type len=1000000, uint8_t int_width=0) |
bool | reset (size_type new_buf_len=0) |
bool | valid () |
size_type | load_next_block () |
value_type | operator[] (const size_type i) const |
Returns the i-th element in the buffer. | |
void | set_int (const size_type i, uint64_t x) |
const uint64_t * | data () const |
Public Attributes | |
const size_type & | int_vector_size |
const uint8_t & | int_width |
const std::string & | file_name |
A class for reading an int_vector buffered from a file.