ZStrimW_Null Class Reference

A derivation of ZStrimW that discards without error any code points written to it. More...

#include <ZStrim.h>

Inheritance diagram for ZStrimW_Null:

ZStrimW List of all members.

Public Member Functions

virtual void Imp_CopyFromDispatch (const ZStrimR &iStrimR, size_t iCountCP, size_t *oCountCPRead, size_t *oCountCPWritten)
 Invoke iStrimR's Imp_CopyTo method.
virtual void Imp_CopyFrom (const ZStrimR &iStrimR, size_t iCountCP, size_t *oCountCPRead, size_t *oCountCPWritten)
 Actually copy data to this strim from iStrimR.

Detailed Description

A derivation of ZStrimW that discards without error any code points written to it.


Member Function Documentation

void ZStrimW_Null::Imp_CopyFromDispatch ( const ZStrimR iStrimR,
size_t  iCountCP,
size_t *  oCountCPRead,
size_t *  oCountCPWritten 
) [virtual]

Invoke iStrimR's Imp_CopyTo method.

The first part of the two-stage dispatch initiated by CopyFrom and CopyAllFrom. Override if your strim's data is in memory and thus iStrimR can have its Read method called with your strim's data as its destination.

Reimplemented from ZStrimW.

void ZStrimW_Null::Imp_CopyFrom ( const ZStrimR iStrimR,
size_t  iCountCP,
size_t *  oCountCPRead,
size_t *  oCountCPWritten 
) [virtual]

Actually copy data to this strim from iStrimR.

The second part of the two-stage dispatch initiated by CopyFrom and CopyAllFrom. The default implementation calls sCopyReadToWrite. Override this method if your strim's data is in memory and thus can be modified by calling iStrimR's Read method.

See also:
sCopyReadToWrite

Reimplemented from ZStrimW.


The documentation for this class was generated from the following files:
Generated on Thu Jul 26 11:22:08 2007 for ZooLib by  doxygen 1.4.7