The following examples demonstrate aspects of streaming.
Description
This example shows the basic idea of streaming, such as externalizing a simple object to a stream using an ExternalizeL() function (or the << operator) and internalizing an object from a stream using InternalizeL() function (or the >> operator).
Download
Download the example: SimpleClass.zip .
Download some additional files required by the example: CommonFramework.zip.
View the source code: browse. View the additional files: browse.
Class summary
RStoreWriteStream - Supports the writing of a stream to a store.
RStoreReadStream - Supports the opening and manipulation of an existing stream in a store.
Description
This example shows how a compound object is externalized to and internalized from a single stream.
Download
Download the example: CompoundClass.zip.
Download some additional files required by the example: CommonFramework.
View the source code: browse. View the additional files: browse.
Class summary
RStoreWriteStream - Supports the writing of a stream to a store.
RStoreReadStream - Supports the opening and manipulation of an existing stream in a store.