ZStreamR_Random Class Reference

A read stream providing an endless sequence of pseudo-random bytes. More...

#include <ZStreamR_Random.h>

Inheritance diagram for ZStreamR_Random:

ZStreamR List of all members.

Public Member Functions

void SetSeed (int32 iSeed)

Detailed Description

A read stream providing an endless sequence of pseudo-random bytes.

The sequence of bytes is determined by the seed passed to the stream's constructor. An instantiated stream's sequence can be reset by calling ZStreamR_Random::SetSeed. It's most useful as the source to a read filter stream which needs to be tested against non-homegenous but repeatable data, and where you don't want to have to manually generate that sequence.


Member Function Documentation

void ZStreamR_Random::SetSeed ( int32  iSeed  ) 

Set the stream's pseudo-random seed, thus setting the sequence of bytes that will be generated by subsequent reads from the stream.


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