TPIE

2362a60
tpie::bits::serialization_writer_base Class Reference

Inherited by tpie::serialization_reverse_writer, and tpie::serialization_writer.

Public Member Functions

stream_size_type file_size ()
 

Static Public Member Functions

static memory_size_type block_size ()
 
static memory_size_type memory_usage ()
 

Protected Member Functions

void open (std::string path, bool reverse)
 
void open (temp_file &tempFile, bool reverse)
 
void write_block (const char *const s, const memory_size_type n)
 Write n bytes from memory area s to next block in stream. More...
 
void close (bool reverse)
 

Detailed Description

Definition at line 39 of file serialization_stream.h.

Member Function Documentation

void tpie::bits::serialization_writer_base::write_block ( const char *const  s,
const memory_size_type  n 
)
protected

Write n bytes from memory area s to next block in stream.

n must be less or equal to block_size().

Parameters
sMemory area with data to write.
nNumber of bytes to write.

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