SDSL: Succinct Data Structure Library
A C++ template library for succinct data structures
 All Classes Namespaces Files Functions Variables Typedefs Friends
Public Types | Public Member Functions | Public Attributes
sdsl::int_vector_file_buffer< fixedIntWidth, size_type_class > Class Template Reference

A class for reading an int_vector buffered from a file. More...

#include <int_vector.hpp>

List of all members.

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

Detailed Description

template<uint8_t fixedIntWidth, class size_type_class>
class sdsl::int_vector_file_buffer< fixedIntWidth, size_type_class >

A class for reading an int_vector buffered from a file.


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