Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



Location: S32FILE.H
Link against: estor.lib

Class FileStoreFactory

class FileStoreFactory;

Description

A class containing a set of factory functions for opening an existing direct file store and an existing permanent file store identified using a Uidtype.

Members

Defined in FileStoreFactory:
DirectLC(), PermanentLC()


Member functions


DirectLC()

static IMPORT_C CFileStore *DirectLC(RFileBuf &aBuf, const TUidType &aType);

Description

Opens an existing direct file store and creates a file store object to represent it.

Parameters

RFileBuf &aBuf

The stream buffer to be used.

const TUidType &aType

The Uidtype for the store.

Return value

CFileStore *

A pointer to the new direct file store object. This is Null, if the specified Uidtype is KNullUid or the first Uid component is not KDirectFileStoreLayoutUid.


PermanentLC()

static IMPORT_C CFileStore *PermanentLC(RFileBuf &aBuf, const TUidType &aType);

Description

Opens an existing permanent file store and creates a file store object to represent it.

Parameters

RFileBuf &aBuf

The stream buffer to be used.

const TUidType &aType

The Uidtype for the store.

Return value

CFileStore *

A pointer to the new permanent file store object. This is Null, if the specified Uidtype is KNullUid or the first Uid component is not KPermanentFileStoreLayoutUid.