CStreamingLinkModel Class Reference

class CStreamingLinkModel : public CBase

Inherits from

Constructor & Destructor Documentation

CStreamingLinkModel()

CStreamingLinkModel()[private]

C++ default constructor.

~CStreamingLinkModel()

IMPORT_C~CStreamingLinkModel()[virtual]

Destructor.

Member Functions Documentation

AreAllLinksLocal()

IMPORT_C TBoolAreAllLinksLocal()

Returns if all the links in the file are local @

ConstructL()

voidConstructL()[private]

By default Symbian 2nd phase constructor is private.

CreateNewLinkFileL(const TDesC &, MDesCArray *, TBool)

IMPORT_C TIntCreateNewLinkFileL(const TDesC &aNewLinkFileName,
MDesCArray *aLinkArray,
TBoolaOverWrite = EFalse
)
Creates new RAM file
Since
2.0

Parameters

const TDesC & aNewLinkFileName
MDesCArray * aLinkArray
TBool aOverWrite = EFalse

FileHandleExists(RFile &)

TBool FileHandleExists(RFile &aFile)[private]
Determines presence of file handle.
Since
9.2

Parameters

RFile & aFilefile handle

FreeFilehandle()

IMPORT_C voidFreeFilehandle()
Frees model's filehandle.
Since
3.0

GetNextLinkL(TDes &, TBool &, TBool)

IMPORT_C TIntGetNextLinkL(TDes &aLink,
TBool &aLocalFile,
TBoolaParse = ETrue
)
Gets next link from opened RAM file.
Since
2.0

Parameters

TDes & aLink
TBool & aLocalFile
TBool aParse = ETrue

IsSeekable()

IMPORT_C TBoolIsSeekable()

MaxLinkLength()

IMPORT_C TIntMaxLinkLength()
Returns max link length in opened RAM file
Since
2.0

MultiLinksCount()

IMPORT_C TIntMultiLinksCount()
Returns number of links in opened RAM file
Since
3.2

NewL()

IMPORT_C CStreamingLinkModel *NewL()[static]

Two-phased constructor.

OpenAsxFileL(const TDesC &, TBool)

IMPORT_C TIntOpenAsxFileL(const TDesC &aLinkFileName,
TBoolaEnableFiltering = ETrue
)
Opens and reads ASX file to buffer.
Since
9.2

Parameters

const TDesC & aLinkFileNameAsx file
TBool aEnableFiltering = ETrue

OpenAsxFileL(RFile &, TBool)

IMPORT_C TIntOpenAsxFileL(RFile &aFile,
TBoolaEnableFiltering = ETrue
)
Opens and reads ASX file to buffer.
Since
9.2

Parameters

RFile & aFilefile handle
TBool aEnableFiltering = ETrue

OpenLinkFileL(const TDesC &, TBool)

IMPORT_C TIntOpenLinkFileL(const TDesC &aLinkFileName,
TBoolaEnableFiltering = ETrue
)
Opens and reads RAM file to buffer.
Since
2.0

Parameters

const TDesC & aLinkFileName
TBool aEnableFiltering = ETrue

OpenLinkFileL(RFile &, TBool)

IMPORT_C TIntOpenLinkFileL(RFile &aFile,
TBoolaEnableFiltering = ETrue
)
Opens and reads RAM file to buffer.
Since
9.2

Parameters

RFile & aFilefile handle
TBool aEnableFiltering = ETrue

PopulateAsxLinksL(CAsxParser *, TBool)

TInt PopulateAsxLinksL(CAsxParser *aAsxParser,
TBoolaEnableFiltering
)[private]
Parse the Asx file and add the link(s) to buffer.
Since
9.2

Parameters

CAsxParser * aAsxParser
TBool aEnableFiltering

PopulateRamLinksL(RFile, TBool)

TInt PopulateRamLinksL(RFileaRamFile,
TBoolaEnableFiltering
)[private]
Parse the ram file and add the link(s) to buffer.
Since
9.2

Parameters

RFile aRamFilea Ram file
TBool aEnableFiltering

ReadNextLine(TDes &)

TInt ReadNextLine(TDes &aLine)[private]
Reads next line from buffer
Since
2.0

Parameters

TDes & aLineWhole line which was read.

ResetLinkCount()

IMPORT_C voidResetLinkCount()
Reset number of links in opened RAM file for Repeat playlist
Since
3.2

Member Data Documentation

TPtrC8 iBufferPtr

TPtrC8 iBufferPtr[private]

MCLFContentListingEngine * iCLFEngine

MCLFContentListingEngine *iCLFEngine[private]

RFile iFileHandle

RFile iFileHandle[private]

RFs iFs

RFs iFs[private]

RPointerArray< LinkStruct > iLinkArray

RPointerArray< LinkStruct >iLinkArray[private]

TInt iLinkCount

TInt iLinkCount[private]