#include <ZStrim.h>
Inheritance diagram for ZStrimW_Null:
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. |
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.
Reimplemented from ZStrimW.