#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.
◆ BASIC_TYPE_SERIALIZER
#define BASIC_TYPE_SERIALIZER |
( |
|
type | ) |
|
Value: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.
◆ BLOCK_BYTES
#define BLOCK_BYTES (1024 * 64) |
◆ ENUM_SERIALIZER
#define ENUM_SERIALIZER |
( |
|
type | ) |
|
Value:template<>\
struct Serializer<type>\
{\
template<typename InputArchive>\
static
inline void load(InputArchive& ar,
type& val)\
{\
int int_val;\
ar & int_val;\
}\
template<typename OutputArchive>\
static
inline void save(OutputArchive& ar,
const type& val)\
{\
ar & int_val;\
}\
}
Definition at line 76 of file serialization.h.