39#ifndef BLOCXX_BinarySerialization_HPP_
40#define BLOCXX_BinarySerialization_HPP_
41#include "blocxx/BLOCXX_config.h"
57namespace BinarySerialization
99 template <
typename Handler,
typename ReaderFunc>
188 template <
typename T>
199 typename T::value_type
x;
206 template <
typename T>
214 a.operator[](
i).writeObject(
ostrm);
The Bool class is an abstraction for the boolean data type.
void readObject(std::streambuf &istrm)
Read this object from an input stream.
This String class is an abstract data type that represents as NULL terminated string of characters.
void readObject(std::streambuf &istrm)
Read this String object from the given istream.
void readLen(std::streambuf &istrm, UInt32 &len)
void verifySignature(std::streambuf &istrm, UInt8 validSig)
void writeString(std::streambuf &ostrm, const String &str)
void read(std::streambuf &istrm, void *dataIn, size_t dataInLen)
void readArray(std::streambuf &istr, T &a)
void writeStringArray(std::streambuf &ostrm, const StringArray *propertyList)
const UInt8 END_STRINGENUM
void write(std::streambuf &ostrm, void const *dataOut, size_t dataOutLen)
const UInt8 BIN_EXCEPTION
const UInt32 MinBinaryProtocolVersion
String readString(std::streambuf &istrm)
void writeArray(std::streambuf &ostrm, const T &a)
void readEnum(std::streambuf &istrm, Handler &result, const ReaderFunc &read, const UInt8 beginsig, const UInt8 endsig)
void writeLen(std::streambuf &ostrm, UInt32 len)
StringArray readStringArray(std::streambuf &istrm)
const UInt32 BinaryProtocolVersion
const UInt8 BIN_LOG_MESSAGE
const UInt8 BINSIG_STRINGENUM
void writeBool(std::streambuf &ostrm, Bool arg)
const UInt8 BINSIG_STRARRAY
Bool readBool(std::streambuf &istrm)
bool operator==(const Array< T > &x, const Array< T > &y)