Streaming Example Code

The following examples demonstrate aspects of streaming.

SimpleClass: streaming a simple class to a single stream

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

CompoundClass: streaming a compound class to a single stream

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