This example demonstrates the use of memory stores.
Description
The example shows objects being externalized to a single
stream in a non-persistent store. The store itself is an in-memory
store represented by a CBufStore
object.
Download
Download the example: StreamInStore.zip
Download some additional files required by the example: CommonFramework.zip
View the source code: browse. View the additional file: 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.
CBufStore
- In-memory non-persistent store.
The buffer store does not have a root stream and cannot be closed
without losing all the data.