CFileShare Class Reference

class CFileShare : public CFsDispatchObject

A file server interface class representing an open file that is being shared. For example multiple reading of the same file.

CFileCB TFileMode

Inherits from

Constructor & Destructor Documentation

CFileShare(CFileCB *)

CFileShare(CFileCB *aFileCB)

Parameters

CFileCB * aFileCB

~CFileShare()

~CFileShare()

Member Functions Documentation

CheckMount()

TInt CheckMount()

File()

CFileCB &File()[inline]

Gets a reference to the object representing an open file that is being shared.

InitL()

voidInitL()

IsFileModeBig()

TBool IsFileModeBig()[inline]

RequestEnd(CFsMessageRequest *)

voidRequestEnd(CFsMessageRequest *aRequest)

Parameters

CFsMessageRequest * aRequest

RequestInProgress()

TBool RequestInProgress()const

RequestStart(CFsMessageRequest *)

TBool RequestStart(CFsMessageRequest *aRequest)

Parameters

CFsMessageRequest * aRequest

Member Data Documentation

CFsMessageRequest * iCurrentRequest

CFsMessageRequest *iCurrentRequest[private]

CFileCB * iFile

CFileCB *iFile[private]

TInt iFlushError

TInt iFlushError

Error condition due to flush.

TUint iMode

TUint iMode

File share mode. The mode in which the file was opened first. TFileMode.

TInt64 iPos

TInt64 iPos

Current file position. This is the position at which reading and writing takes place.