PCStore::CDirectFileStore Class Reference
#include
<pcstore/directfilestore.h>
class PCStore::CDirectFileStore |
Detailed Description
Direct file store.
A direct file store implements a set of the operations to open store, create streams(CStoreWriteStream and CStoreReadStream), set root stream id to the store.
Objects can be externalized to streams represented by class CStoreWriteStream. Once the streams have been closed, they cannot subsequently be changed, i.e. streams cannot be replaced, deleted, extended or changed in any way.
Existing direct file stores can be opened with this class. Objects can be restored with class CStoreReadStream.
Before closing a new store, the root stream id must be set. After opening an existing store, the first thing done is to look up the root stream id. The root stream can then be opened and data read from the store.
See also: CStoreWriteStream CStoreReadStream
Member Enumeration Documentation
Enum TStoreMode
Constructor & Destructor Documentation
~CDirectFileStore ( )
Member Function Documentation
CreateReadStream ( TStreamId )
CreateWriteStream ( TStreamId & )
Open ( const char * )
Replace ( const char * )
Replace ( const char *, const TUidType & )