SUMMARY:  INNER | FIELD | CONSTR | METHOD | FRIEND DETAIL:  FIELD | CONSTR | METHOD | FRIEND


Platform::Util::Codec
Class ICodec

NonCopyableType
   |
   +-ICodec

Implemented in:
Platform.Util.Codec.h
Direct Known Subclasses:
LZSS, RLE1, RLE2

abstract class ICodec:
private NonCopyableType

An interface to code data from input stream into output stream.

Field Summarycollapse
protected Io::IStreamHandler* io
          I/O stream handler.

Constructor Summarycollapse
ICodec()
          Default constructor.
ICodec(Io::IStreamHandler* inIO)
          Constructs a codec interface with the specified I/O stream handler.
~ICodec() = 0
          Destructor.

Method Summarycollapse
Void decode() = 0
          Decodes the output stream from the input stream.
Void encode() = 0
          Encodes the input stream into output stream.

 

Field Detail

io

protected Io::IStreamHandler* io

I/O stream handler.

 

Constructor Detail

ICodec[inline]

ICodec()

Default constructor.


ICodec[inline]

ICodec(Io::IStreamHandler* inIO)

Constructs a codec interface with the specified I/O stream handler.

Parameters:
inIO - I/O stream handler used by the stream operations

~ICodec[abstract, inline]

~ICodec() = 0

Destructor.

 

Method Detail

decode[abstract]

Void decode() = 0

Decodes the output stream from the input stream.


encode[abstract]

Void encode() = 0

Encodes the input stream into output stream.



SUMMARY:  INNER | FIELD | CONSTR | METHOD | FRIEND DETAIL:  FIELD | CONSTR | METHOD | FRIEND