$treeview $search $mathjax
Palabos  Version 1.1
$projectbrief
$projectbrief
$searchbox

serializerIO.h File Reference

#include "core/globalDefs.h"
#include "core/serializer.h"
#include <iosfwd>
#include <iomanip>
Include dependency graph for serializerIO.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  plb::AsciiWriter< T >
class  plb::AsciiReader< T >

Namespaces

namespace  plb
 

All OpenLB code is contained in this namespace.


Functions

void plb::serializerToBase64Stream (DataSerializer const *serializer, std::ostream *ostr, bool enforceUint=false)
 Take a Serializer, convert into Base64 format (ASCII based binary representation), and stream into output stream.
void plb::base64StreamToUnSerializer (std::istream *istr, DataUnSerializer *unSerializer, bool enforceUint=false)
 Take an input stream with Base64 encoded binary content, and stream into an unSerializer.
template<typename T >
void plb::serializerToAsciiStream (DataSerializer const *serializer, std::ostream *ostr, plint numDigits=8)
 Take a Serializer, convert and stream into output in ASCII format.
template<typename T >
void plb::asciiStreamToUnSerializer (std::istream *istr, DataUnSerializer *unSerializer)
 Take an UnSerializer and fill it with data from an ASCII-format input stream.