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
sdsl::temp_write_read_buffer< int_width > Class Template Reference

#include <temp_write_read_buffer.hpp>

List of all members.

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)

Detailed Description

template<uint8_t int_width = 0>
class sdsl::temp_write_read_buffer< int_width >

FIFO data structure


Constructor & Destructor Documentation

template<uint8_t int_width = 0>
sdsl::temp_write_read_buffer< int_width >::temp_write_read_buffer ( size_type  buf_size,
uint8_t  width,
std::string  dir = "./" 
) [inline]

Constructior.

Parameters:
buf_sizeThe size of the buffer.
widthThe width of the integers if template paramter int_width=0.
dirDirectory in which the temporary file is stored.

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