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.
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.