Class for unserializing binary data serialized with the serializer Data can be unserialized using the >> operators. More...
#include <tpie/serialization.h>
Public Member Functions | |
unserializer (std::istream &in) | |
Construct a unserializer reading from the std::istream in. More... | |
template<typename T > | |
unserializer & | operator<< (const T &x) |
unserializer & | operator<< (const char *x) |
template<typename T > | |
unserializer & | read (T *array, size_t &size) |
template<typename T > | |
std::enable_if < std::is_fundamental< T > ::value||std::is_enum< T > ::value, unserializer & > ::type | operator>> (T &x) |
template<typename T1 , typename T2 > | |
unserializer & | operator>> (std::pair< T1, T2 > &p) |
template<typename T > | |
unserializer & | operator>> (std::vector< T > &v) |
unserializer & | operator>> (std::string &s) |
Class for unserializing binary data serialized with the serializer Data can be unserialized using the >> operators.
The << operators can be used to validate data in the serialation.
Definition at line 117 of file serialization.h.
|
inline |
Construct a unserializer reading from the std::istream in.
Definition at line 122 of file serialization.h.