Store Streams Example Code

This example shows how a network of objects can be written to more than one stream in a direct file store, and how the loading of an object from the store into memory may be deferred.

WriteToMany: externalizing to more than one stream/deferred loading

Download

Download the example: WriteToMany.zip.

Download some additional files required by the example: CommonFramework.zip.

View the source code: browse. View the additional files: browse.

Class summary

WriteToEmbedded: using an embedded store

Description

This example shows how an object can be externalized to a store embedded within a permanent file store.

Download

Download the example: WriteToEmbedded.zip.

Download some additional files required by the example: CommonFramework.zip.

View the source code: browse. View the additional files: browse

Class summary

StoreMap: using a store map

Description

This example demonstrates the streaming of a compound object to multiple streams with deferred loading. It also illustrates the use of a store map (CStoreMap).

Related APIs

  • CStoreMap - Store map used when externalizing swizzled in-memory objects.

Download

Download the example: StoreMap.zip.

Download some additional files required by the example: CommonFramework.zip.

View the source code: browse. View the additional files: browse.

Class summary