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

#include <serialization.h>

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

List of all members.

Public Member Functions

template<typename T >
void save (const T &val)
template<typename T >
void save (T *const &val)
template<typename T >
void save_binary (T *ptr, size_t size)
 SaveArchive (const char *filename)
 SaveArchive (FILE *stream)
 ~SaveArchive ()

Private Member Functions

void endBlock ()
void flushBlock ()
void initBlock ()

Private Attributes

char * buffer_
char * buffer_blocks_
char * compressed_buffer_
int first_block_
LZ4_streamHC_tlz4Stream
LZ4_streamHC_t lz4Stream_body
size_t offset_
bool own_stream_
FILE * stream_

Detailed Description

Definition at line 376 of file serialization.h.


Constructor & Destructor Documentation

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

Definition at line 482 of file serialization.h.

Definition at line 489 of file serialization.h.

Definition at line 494 of file serialization.h.


Member Function Documentation

Definition at line 467 of file serialization.h.

Definition at line 412 of file serialization.h.

Definition at line 394 of file serialization.h.

template<typename T >
void rtflann::serialization::SaveArchive::save ( const T val) [inline]

Definition at line 508 of file serialization.h.

template<typename T >
void rtflann::serialization::SaveArchive::save ( T *const &  val) [inline]

Definition at line 518 of file serialization.h.

template<typename T >
void rtflann::serialization::SaveArchive::save_binary ( T ptr,
size_t  size 
) [inline]

Definition at line 525 of file serialization.h.


Member Data Documentation

Definition at line 385 of file serialization.h.

Definition at line 389 of file serialization.h.

Definition at line 390 of file serialization.h.

Definition at line 388 of file serialization.h.

Definition at line 392 of file serialization.h.

Definition at line 391 of file serialization.h.

Definition at line 386 of file serialization.h.

Definition at line 384 of file serialization.h.

Based on blockStreaming_doubleBuffer code at: https://github.com/Cyan4973/lz4/blob/master/examples/blockStreaming_doubleBuffer.c

Definition at line 383 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