CShiftedFileStore Class Reference

class CShiftedFileStore : public CDirectFileStore

class CShiftedFileStore - this is highly specialized class, derived from CDirectFileStore . It has only one purpose - to make possible creating direct file store instance beginning at the middle of some physical file. It is expected to be used with the new RSC files format: Header + RSC file section + MBM file section.

Public Member Functions
CShiftedFileStore * FromL ( RFile &, TUint )
CShiftedFileStore * OpenLC ( RFs &, const TDesC &, TUint , TUint )
Private Member Functions
CShiftedFileStore ( RFile &)
Inherited Functions
CBase::CBase()
CBase::Delete(CBase *)
CBase::Extension_(TUint,TAny *&,TAny *)
CBase::operator new(TUint)
CBase::operator new(TUint,TAny *)
CBase::operator new(TUint,TLeave)
CBase::operator new(TUint,TLeave,TUint)
CBase::operator new(TUint,TUint)
CBase::~CBase()
CDirectFileStore::CDirectFileStore(RFile &)
CDirectFileStore::CDirectFileStore(RFileBuf &,const TUidType &)
CDirectFileStore::CreateL(RFs &,const TDesC &,TUint)
CDirectFileStore::CreateLC(RFs &,const TDesC &,TUint)
CDirectFileStore::DoCreateL(TStreamId &)
CDirectFileStore::DoReadL(TStreamId)const
CDirectFileStore::FromL(RFile &)
CDirectFileStore::FromLC(RFile &)
CDirectFileStore::Layout()const
CDirectFileStore::NewL(RFile &)
CDirectFileStore::NewLC(RFile &)
CDirectFileStore::OpenL(RFs &,const TDesC &,TUint)
CDirectFileStore::OpenLC(RFs &,const TDesC &,TUint)
CDirectFileStore::ReplaceL(RFs &,const TDesC &,TUint)
CDirectFileStore::ReplaceLC(RFs &,const TDesC &,TUint)
CDirectFileStore::TempL(RFs &,const TDesC &,TFileName &,TUint)
CDirectFileStore::TempLC(RFs &,const TDesC &,TFileName &,TUint)
CFileStore::CFileStore(RFile &)
CFileStore::CFileStore(RFileBuf &,const TUidType &)
CFileStore::ChangedL()
CFileStore::CreateL(RFs &,const TDesC &,TUint,TNewFunction)
CFileStore::CreateLC(RFs &,const TDesC &,TUint,TNewFunction)
CFileStore::Destruct()
CFileStore::Detach()
CFileStore::DoCommitL()
CFileStore::DoRevertL()
CFileStore::File()const
CFileStore::FromL(RFile &,TFileStoreFactoryFunction)
CFileStore::FromL(RFile &,const TFileStoreFactoryFunction)
CFileStore::FromLC(RFile &,TFileStoreFactoryFunction)
CFileStore::FromLC(RFile &,const TFileStoreFactoryFunction)
CFileStore::Host()const
CFileStore::IsHost(const MStreamBuf *)const
CFileStore::MarshalL()
CFileStore::NewL(RFile &,TNewFunction)
CFileStore::NewLC(RFile &,TNewFunction)
CFileStore::OpenL(RFs &,const TDesC &,TUint,TFileStoreFactoryFunction)
CFileStore::OpenL(RFs &,const TDesC &,TUint,const TFileStoreFactoryFunction)
CFileStore::OpenLC(RFs &,const TDesC &,TUint,TFileStoreFactoryFunction)
CFileStore::OpenLC(RFs &,const TDesC &,TUint,const TFileStoreFactoryFunction)
CFileStore::Reattach(RFile &)
CFileStore::RefreshL()
CFileStore::ReplaceL(RFs &,const TDesC &,TUint,TNewFunction)
CFileStore::ReplaceLC(RFs &,const TDesC &,TUint,TNewFunction)
CFileStore::Reset()
CFileStore::Reset(TInt)
CFileStore::SetSizeL(TInt)
CFileStore::SetTypeL(const TUidType &)
CFileStore::SynchL()
CFileStore::TempL(RFs &,const TDesC &,TFileName &,TUint,TNewFunction)
CFileStore::TempLC(RFs &,const TDesC &,TFileName &,TUint,TNewFunction)
CFileStore::Type()const
CFileStore::~CFileStore()
CPersistentStore::CPersistentStore()
CPersistentStore::Root()const
CPersistentStore::SetRootL(TStreamId)
CStreamStore::Commit()
CStreamStore::CommitL()
CStreamStore::CompactL()
CStreamStore::Delete(TStreamId)
CStreamStore::DeleteL(TStreamId)
CStreamStore::ExtendL()
CStreamStore::ReclaimL()
CStreamStore::Revert()
CStreamStore::RevertL()
Inherited Attributes
CPersistentStore::iRoot

Constructor & Destructor Documentation

CShiftedFileStore(RFile &)

CShiftedFileStore ( RFile & aFile ) [private]

Constructor. Prevents compiler warnings. Actually, CShiftedFileStore instance is newer created. CFileStore or CDirectFileStore instance is created and downcasted to CShiftedFileStore . It is possible to do that: CShiftedFileStore doesn't have data members at all.

Parameters

RFile & aFile

Member Functions Documentation

FromL(RFile &, TUint)

CShiftedFileStore * FromL ( RFile & aFile,
TUint aFileOffset
) [static]

CShiftedFileStore::FromL(RFile& aFile, TUint aFileOffset) method. CFileStore::FromL(RFile& aFile,TFileStoreFactoryFunction aFunction) method was used as an origin for the method's source code. The only difference is that RFileBuf::Attach is called with possibly non-zero offset. The original implementation always calls RFileBuf::Attach with zero offset.

Parameters

RFile & aFile
TUint aFileOffset

OpenLC(RFs &, const TDesC &, TUint, TUint)

CShiftedFileStore * OpenLC ( RFs & aFs,
const TDesC & aName,
TUint aFileMode,
TUint aFileOffset
) [static]

CShiftedFileStore::OpenLC(RFs& aFs, const TDesC& aName, TUint aFileMode, TUint aFileOffset) method. CFileStore::OpenL ( RFs & aFs,const TDesC& aName,TUint aFileMode,const TFileStoreFactoryFunction aFactory[]) method was used as an origin for the method's source code.

Parameters

RFs & aFs
const TDesC & aName
TUint aFileMode
TUint aFileOffset