ot_lib::ot_messageCodecGZip Class Reference

OT_LIB GZIP codec. More...

#include <ot_lib.h>

Inheritance diagram for ot_lib::ot_messageCodecGZip:

ot_lib::ot_messageCodec

List of all members.

Public Member Functions

 ot_messageCodecGZip (void)
 Constructor.
virtual ~ot_messageCodecGZip (void)
 Destructor.
void encodeDataStream (ostream &s, const ot_map &msg) const
auto_ptr< ot_mapdecodeDataStream (istream &s) const


Detailed Description

OT_LIB GZIP codec.

Gzip compressed codec


Constructor & Destructor Documentation

ot_lib::ot_messageCodecGZip::ot_messageCodecGZip ( void   ) 

Constructor.

virtual ot_lib::ot_messageCodecGZip::~ot_messageCodecGZip ( void   )  [virtual]

Destructor.


Member Function Documentation

void ot_lib::ot_messageCodecGZip::encodeDataStream ( ostream &  s,
const ot_map msg 
) const [virtual]

Encode a binary stream from a sequence

Parameters:
s Writing stream
msg The message to encode

Implements ot_lib::ot_messageCodec.

auto_ptr<ot_map> ot_lib::ot_messageCodecGZip::decodeDataStream ( istream &  s  )  const [virtual]

Decode a binary stream from a sequence

Parameters:
s Reading stream
msg The message decoded

Implements ot_lib::ot_messageCodec.


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

Generated on Sun May 4 12:42:45 2008 for OT_LIB 4.1 by  doxygen 1.5.5