COOLFluiD  Release kernel
COOLFluiD is a Collaborative Simulation Environment (CSE) focused on complex MultiPhysics simulations.
Public Member Functions | Public Attributes | List of all members
CompressedStream Struct Reference

Public Member Functions

 CompressedStream ()
 
void start_array (const Uint nb_elems, const Uint wordsize)
 Start writing a new array. More...
 
void finish_array ()
 Finish writing the current array. More...
 
template<typename ValueT >
void push_back (const ValueT &value)
 Append a value to the stream. More...
 
Uint offset ()
 
void compress_block ()
 

Public Attributes

CompressedStreamHeader m_header
 
Uint m_compressed_sizes_start
 File pointer where the compressed sizes start. More...
 
Uint m_wordsize
 
std::stringstream m_current_block
 
std::stringstream data_stream
 

Detailed Description

Definition at line 67 of file Writer.cpp.

Constructor & Destructor Documentation

CompressedStream ( )
inline

Definition at line 69 of file Writer.cpp.

Member Function Documentation

void compress_block ( )
inline

Definition at line 147 of file Writer.cpp.

void finish_array ( )
inline

Finish writing the current array.

Definition at line 111 of file Writer.cpp.

Uint offset ( )
inline

Definition at line 141 of file Writer.cpp.

void push_back ( const ValueT &  value)
inline

Append a value to the stream.

Definition at line 131 of file Writer.cpp.

void start_array ( const Uint  nb_elems,
const Uint  wordsize 
)
inline

Start writing a new array.

Definition at line 78 of file Writer.cpp.

Member Data Documentation

std::stringstream data_stream

Definition at line 173 of file Writer.cpp.

Uint m_compressed_sizes_start

File pointer where the compressed sizes start.

Definition at line 166 of file Writer.cpp.

std::stringstream m_current_block

Definition at line 171 of file Writer.cpp.

Definition at line 163 of file Writer.cpp.

Uint m_wordsize

Definition at line 168 of file Writer.cpp.


The documentation for this struct was generated from the following file:
Send comments to:
COOLFluiD Web Admin