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

indri::utility::RVLCompressStream Class Reference

#include <RVLCompressStream.hpp>

List of all members.

Public Member Functions

 RVLCompressStream (indri::utility::Buffer &buffer)
const char * data () const
 the buffer

size_t dataSize () const
 the size of the data in the buffer

RVLCompressStreamoperator<< (int value)
RVLCompressStreamoperator<< (unsigned int value)
RVLCompressStreamoperator<< (INT64 value)
RVLCompressStreamoperator<< (UINT64 value)
RVLCompressStreamoperator<< (float value)
RVLCompressStreamoperator<< (const char *value)
 Compress a string into the buffer.


Private Attributes

indri::utility::Buffer_buffer


Detailed Description

Provide RVL compression on a stream.


Constructor & Destructor Documentation

indri::utility::RVLCompressStream::RVLCompressStream indri::utility::Buffer buffer  )  [inline]
 

Initialize

Parameters:
buffer the buffer to use for compressing


Member Function Documentation

const char* indri::utility::RVLCompressStream::data  )  const [inline]
 

the buffer

size_t indri::utility::RVLCompressStream::dataSize  )  const [inline]
 

the size of the data in the buffer

RVLCompressStream& indri::utility::RVLCompressStream::operator<< const char *  value  )  [inline]
 

Compress a string into the buffer.

RVLCompressStream& indri::utility::RVLCompressStream::operator<< float  value  )  [inline]
 

Compress a float into the buffer

Parameters:
value the value to compress

RVLCompressStream& indri::utility::RVLCompressStream::operator<< UINT64  value  )  [inline]
 

Compress an UINT64 into the buffer

Parameters:
value the value to compress

RVLCompressStream& indri::utility::RVLCompressStream::operator<< INT64  value  )  [inline]
 

Compress an INT64 into the buffer

Parameters:
value the value to compress

RVLCompressStream& indri::utility::RVLCompressStream::operator<< unsigned int  value  )  [inline]
 

Compress an unsigned int into the buffer

Parameters:
value the value to compress

RVLCompressStream& indri::utility::RVLCompressStream::operator<< int  value  )  [inline]
 

Compress an int into the buffer

Parameters:
value the value to compress


Member Data Documentation

indri::utility::Buffer& indri::utility::RVLCompressStream::_buffer [private]
 


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