Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <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:


Member functions


DirectLC(RFileBuf &,const TUidType &)

IMPORT_C static 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(RFileBuf &,const TUidType &)

IMPORT_C static 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.