#include <vector>
#include <map>
#include <cstdlib>
#include <cstring>
#include <stdio.h>
#include "rtflann/ext/lz4.h"
#include "rtflann/ext/lz4hc.h"
Go to the source code of this file.
#define BASIC_TYPE_SERIALIZER | ( | type | ) |
template<> \ struct Serializer<type> \ {\ template<typename InputArchive>\ static inline void load(InputArchive& ar, type& val)\ {\ ar.load(val);\ }\ template<typename OutputArchive>\ static inline void save(OutputArchive& ar, const type& val)\ {\ ar.save(val);\ }\ }
Definition at line 60 of file serialization.h.
#define BLOCK_BYTES (1024 * 64) |
Definition at line 374 of file serialization.h.
#define ENUM_SERIALIZER | ( | type | ) |
template<>\ struct Serializer<type>\ {\ template<typename InputArchive>\ static inline void load(InputArchive& ar, type& val)\ {\ int int_val;\ ar & int_val;\ val = (type) int_val;\ }\ template<typename OutputArchive>\ static inline void save(OutputArchive& ar, const type& val)\ {\ int int_val = (int)val;\ ar & int_val;\ }\ }
Definition at line 76 of file serialization.h.