ot_messageCodecStd Class Reference

OT_LIB STD codec. More...

#include <ot_codecStd.h>

Inheritance diagram for ot_messageCodecStd:

ot_messageCodec

List of all members.

Public Member Functions

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


Detailed Description

OT_LIB STD codec.

Standard codec


Constructor & Destructor Documentation

ot_messageCodecStd::ot_messageCodecStd ( void   ) 

Constructor.

virtual ot_messageCodecStd::~ot_messageCodecStd ( void   )  [virtual]

Destructor.


Member Function Documentation

void ot_messageCodecStd::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_messageCodec.

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

Decode a binary stream from a sequence

Parameters:
s Reading stream
msg The message decoded

Implements ot_messageCodec.


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

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