A stream is a sequence of binary data; it is the external representation of one or more objects.
A store is a collection of streams, each of which has a unique identity. An object stores itself by externalizing its data to one or more streams using the write stream interface and restores itself by internalizing from the same streams using the read stream interface.
An instance of a class can be externalized to a stream, and internalized from a stream, by adding definitions and implementations for the two functions, InternalizeL() and ExternalizeL() to that class.
A class that defines and implements these functions is a store-aware class.
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.