Public Member Functions | Private Member Functions | Private Attributes
rtflann::serialization::LoadArchive Class Reference

#include <serialization.h>

Inheritance diagram for rtflann::serialization::LoadArchive:
Inheritance graph
[legend]

List of all members.

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_tlz4StreamDecode
LZ4_streamDecode_t lz4StreamDecode_body
bool own_stream_
char * ptr_
FILE * stream_

Detailed Description

Definition at line 550 of file serialization.h.


Constructor & Destructor Documentation

rtflann::serialization::LoadArchive::LoadArchive ( const char *  filename) [inline]

Definition at line 748 of file serialization.h.

Definition at line 757 of file serialization.h.

Definition at line 765 of file serialization.h.


Member Function Documentation

void rtflann::serialization::LoadArchive::decompressAndLoadV10 ( FILE *  stream) [inline, private]

Definition at line 568 of file serialization.h.

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.

template<typename T >
void rtflann::serialization::LoadArchive::load ( T val) [inline]

Definition at line 774 of file serialization.h.

template<typename T >
void rtflann::serialization::LoadArchive::load ( T *&  val) [inline]

Definition at line 782 of file serialization.h.

template<typename T >
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.


Member Data Documentation

Definition at line 566 of file serialization.h.

Definition at line 559 of file serialization.h.

Definition at line 562 of file serialization.h.

Definition at line 563 of file serialization.h.

Definition at line 565 of file serialization.h.

Definition at line 564 of file serialization.h.

Definition at line 558 of file serialization.h.

Definition at line 560 of file serialization.h.

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.


The documentation for this class was generated from the following file:


rtabmap
Author(s): Mathieu Labbe
autogenerated on Sat Jul 23 2016 11:44:32