SDSL: Succinct Data Structure Library
A C++ template library for succinct data structures
|
#include <temp_write_read_buffer.hpp>
Public Types | |
typedef int_vector< int_width > | buffer_type |
typedef buffer_type::size_type | size_type |
typedef buffer_type::value_type | value_type |
Public Member Functions | |
temp_write_read_buffer (size_type buf_size, uint8_t width, std::string dir="./") | |
Constructior. | |
value_type | operator<< (value_type x) |
void | write_close () |
void | reset () |
bool | operator>> (value_type &x) |
FIFO data structure
sdsl::temp_write_read_buffer< int_width >::temp_write_read_buffer | ( | size_type | buf_size, |
uint8_t | width, | ||
std::string | dir = "./" |
||
) | [inline] |
Constructior.
buf_size | The size of the buffer. |
width | The width of the integers if template paramter int_width=0. |
dir | Directory in which the temporary file is stored. |