Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

lemur::utility::RVLCompress Class Reference

Provide RVL compression of arbitrary data. More...

#include <RVLCompress.hpp>

List of all members.

Static Public Member Functions

int compress_ints (int *data_ptr, unsigned char *out_ptr, int size)
 return number of bytes in result

int decompress_ints (unsigned char *data_ptr, int *out_ptr, int num_bytes)
 returns number of ints decompressed

int compressedSize (int data)
 size of data when compressed with RVLCompress

int compressedSize (INT64 data)
 size of data when compressed with RVLCompress

int compressedSize (UINT64 data)
 size of data when compressed with RVLCompress

UINT64 foldNegatives (INT64 number)
INT64 unfoldNegatives (UINT64 number)
char * compress_int (char *dest, int data)
char * compress_longlong (char *dest, UINT64 data)
char * compress_longlong (char *dest, INT64 data)
const char * decompress_int (const char *source, int &data)
const char * decompress_longlong (const char *source, UINT64 &data)
const char * decompress_longlong (const char *source, INT64 &data)
const char * decompress_int_count (const char *source, int *result, int numInts)
const char * skip_ints (const char *source, int numInts)

Static Private Member Functions

char * _compress_bigger_int (char *dest, int data)
char * _compress_bigger_longlong (char *dest, UINT64 data)


Detailed Description

Provide RVL compression of arbitrary data.


Member Function Documentation

char * lemur::utility::RVLCompress::_compress_bigger_int char *  dest,
int  data
[static, private]
 

char * lemur::utility::RVLCompress::_compress_bigger_longlong char *  dest,
UINT64  data
[static, private]
 

char * lemur::utility::RVLCompress::compress_int char *  dest,
int  data
[inline, static]
 

int lemur::utility::RVLCompress::compress_ints int *  data_ptr,
unsigned char *  out_ptr,
int  size
[static]
 

return number of bytes in result

char * lemur::utility::RVLCompress::compress_longlong char *  dest,
INT64  data
[inline, static]
 

char * lemur::utility::RVLCompress::compress_longlong char *  dest,
UINT64  data
[inline, static]
 

int lemur::utility::RVLCompress::compressedSize UINT64  data  )  [inline, static]
 

size of data when compressed with RVLCompress

int lemur::utility::RVLCompress::compressedSize INT64  data  )  [inline, static]
 

size of data when compressed with RVLCompress

int lemur::utility::RVLCompress::compressedSize int  data  )  [inline, static]
 

size of data when compressed with RVLCompress

const char * lemur::utility::RVLCompress::decompress_int const char *  source,
int &  data
[inline, static]
 

const char * lemur::utility::RVLCompress::decompress_int_count const char *  source,
int *  result,
int  numInts
[inline, static]
 

int lemur::utility::RVLCompress::decompress_ints unsigned char *  data_ptr,
int *  out_ptr,
int  num_bytes
[static]
 

returns number of ints decompressed

const char * lemur::utility::RVLCompress::decompress_longlong const char *  source,
INT64 data
[inline, static]
 

const char * lemur::utility::RVLCompress::decompress_longlong const char *  source,
UINT64 data
[inline, static]
 

UINT64 lemur::utility::RVLCompress::foldNegatives INT64  number  )  [inline, static]
 

const char * lemur::utility::RVLCompress::skip_ints const char *  source,
int  numInts
[inline, static]
 

INT64 lemur::utility::RVLCompress::unfoldNegatives UINT64  number  )  [inline, static]
 


The documentation for this class was generated from the following files:
Generated on Tue Jun 15 11:03:07 2010 for Lemur by doxygen 1.3.4