#include <serialization.h>
Public Member Functions | |
template<typename T > | |
void | load (T &val) |
template<typename T > | |
void | load (T *&val) |
template<typename T > | |
void | load_binary (T *ptr, size_t size) |
LoadArchive (const char *filename) | |
LoadArchive (FILE *stream) | |
~LoadArchive () | |
Private Member Functions | |
void | decompressAndLoadV10 (FILE *stream) |
void | endBlock () |
void | initBlock (FILE *stream) |
void | loadBlock (char *buffer_, size_t compSz, FILE *stream) |
void | preparePtr (size_t size) |
Private Attributes | |
size_t | block_sz_ |
char * | buffer_ |
char * | buffer_blocks_ |
char * | compressed_buffer_ |
LZ4_streamDecode_t * | lz4StreamDecode |
LZ4_streamDecode_t | lz4StreamDecode_body |
bool | own_stream_ |
char * | ptr_ |
FILE * | stream_ |
Definition at line 550 of file serialization.h.
rtflann::serialization::LoadArchive::LoadArchive | ( | const char * | filename | ) | [inline] |
Definition at line 748 of file serialization.h.
rtflann::serialization::LoadArchive::LoadArchive | ( | FILE * | stream | ) | [inline] |
Definition at line 757 of file serialization.h.
rtflann::serialization::LoadArchive::~LoadArchive | ( | ) | [inline] |
Definition at line 765 of file serialization.h.
void rtflann::serialization::LoadArchive::decompressAndLoadV10 | ( | FILE * | stream | ) | [inline, private] |
Definition at line 568 of file serialization.h.
void rtflann::serialization::LoadArchive::endBlock | ( | ) | [inline, private] |
Definition at line 721 of file serialization.h.
void rtflann::serialization::LoadArchive::initBlock | ( | FILE * | stream | ) | [inline, private] |
Definition at line 631 of file serialization.h.
void rtflann::serialization::LoadArchive::load | ( | T & | val | ) | [inline] |
Definition at line 774 of file serialization.h.
void rtflann::serialization::LoadArchive::load | ( | T *& | val | ) | [inline] |
Definition at line 782 of file serialization.h.
void rtflann::serialization::LoadArchive::load_binary | ( | T * | ptr, |
size_t | size | ||
) | [inline] |
Definition at line 789 of file serialization.h.
void rtflann::serialization::LoadArchive::loadBlock | ( | char * | buffer_, |
size_t | compSz, | ||
FILE * | stream | ||
) | [inline, private] |
Definition at line 677 of file serialization.h.
void rtflann::serialization::LoadArchive::preparePtr | ( | size_t | size | ) | [inline, private] |
Definition at line 697 of file serialization.h.
size_t rtflann::serialization::LoadArchive::block_sz_ [private] |
Definition at line 566 of file serialization.h.
char* rtflann::serialization::LoadArchive::buffer_ [private] |
Definition at line 559 of file serialization.h.
char* rtflann::serialization::LoadArchive::buffer_blocks_ [private] |
Definition at line 562 of file serialization.h.
char* rtflann::serialization::LoadArchive::compressed_buffer_ [private] |
Definition at line 563 of file serialization.h.
Definition at line 565 of file serialization.h.
Definition at line 564 of file serialization.h.
bool rtflann::serialization::LoadArchive::own_stream_ [private] |
Definition at line 558 of file serialization.h.
char* rtflann::serialization::LoadArchive::ptr_ [private] |
Definition at line 560 of file serialization.h.
FILE* rtflann::serialization::LoadArchive::stream_ [private] |
Based on blockStreaming_doubleBuffer code at: https://github.com/Cyan4973/lz4/blob/master/examples/blockStreaming_doubleBuffer.c
Definition at line 557 of file serialization.h.