41 MDB_val
setData(
const T& value);
46 void _setData(
const T& value);
57#include "serializer.hpp"
58#include "serializer_uint64.hpp"
59#include "serializer_uint32.hpp"
60#include "serializer_uint16.hpp"
61#include "serializer_uint8.hpp"
62#include "serializer_int64.hpp"
63#include "serializer_int32.hpp"
64#include "serializer_int16.hpp"
65#include "serializer_int8.hpp"
66#include "serializer_float.hpp"
67#include "serializer_double.hpp"
68#include "serializer_stdstring.hpp"
69#include "serializer_qstring.hpp"
70#include "serializer_qbytearray.hpp"
A class handling serialization/deserialization.
Definition serializer.h:33
~Serializer()
Destoys the serializer.
Definition serializer.hpp:69
Serializer()
Creates an empty Serializer.
Definition serializer.hpp:40
MDB_val getData()
Returns the data if it already was serialized.
Definition serializer.hpp:153
T deserialize(const MDB_val &value)
Deserializes value.
Definition serializer.hpp:99
void clear()
Clears the state of serializer.
Definition serializer.hpp:137
MDB_val setData(const T &value)
Sets the data to the seriazer.
Definition serializer.hpp:83