Public Member Functions | Private Member Functions | Private Attributes | List of all members
rtflann::serialization::LoadArchive Class Reference

#include <serialization.h>

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

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 ()
 
- Public Member Functions inherited from rtflann::serialization::InputArchive< LoadArchive >
LoadArchiveoperator& (T &val)
 
- Public Member Functions inherited from rtflann::serialization::ArchiveBase
void * getObject ()
 
void setObject (void *object)
 

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_
 

Additional Inherited Members

- Public Types inherited from rtflann::serialization::InputArchive< LoadArchive >
typedef bool_< trueis_loading
 
typedef bool_< falseis_saving
 
- Protected Member Functions inherited from rtflann::serialization::InputArchive< LoadArchive >
 InputArchive ()
 

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.

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.

Member Function Documentation

void rtflann::serialization::LoadArchive::decompressAndLoadV10 ( FILE *  stream)
inlineprivate

Definition at line 568 of file serialization.h.

void rtflann::serialization::LoadArchive::endBlock ( )
inlineprivate

Definition at line 721 of file serialization.h.

void rtflann::serialization::LoadArchive::initBlock ( FILE *  stream)
inlineprivate

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 
)
inlineprivate

Definition at line 677 of file serialization.h.

void rtflann::serialization::LoadArchive::preparePtr ( size_t  size)
inlineprivate

Definition at line 697 of file serialization.h.

Member Data Documentation

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.

LZ4_streamDecode_t* rtflann::serialization::LoadArchive::lz4StreamDecode
private

Definition at line 565 of file serialization.h.

LZ4_streamDecode_t rtflann::serialization::LoadArchive::lz4StreamDecode_body
private

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.


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


rtabmap
Author(s): Mathieu Labbe
autogenerated on Wed Jun 5 2019 22:43:43