CFrameInfoStrings Class Reference

class CFrameInfoStrings : public CBase

Class used to maintain frame information stored in codec specific resource files.

Inherits from

Public Member Functions
~CFrameInfoStrings()
IMPORT_C TIntCount()
IMPORT_C const TPtrCDecoder()
IMPORT_C const TPtrCDepth()
IMPORT_C const TPtrCDetails()
IMPORT_C const TPtrCDimensions()
IMPORT_C const TPtrCFormat()
IMPORT_C CFrameInfoStrings *NewL()
IMPORT_C CFrameInfoStrings *NewLC()
IMPORT_C voidSetDecoderL(const TDesC &)
IMPORT_C voidSetDepthL(const TDesC &)
IMPORT_C voidSetDetailsL(const TDesC &)
IMPORT_C voidSetDimensionsL(const TDesC &)
IMPORT_C voidSetFormatL(const TDesC &)
IMPORT_C const TPtrCString(TInt)
Private Member Functions
CFrameInfoStrings()
voidConstructL()
voidSetStringL(TInt, const TDesC &)
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()
Private Member Enumerations
enumTFrameInfoStringIndex { EDecoder = 0, EFormat = 1, EDimensions = 2, EDepth = 3, EDetails = 4 }
Private Attributes
CDesCArray *iFrameInfoStrings

Constructor & Destructor Documentation

CFrameInfoStrings()

CFrameInfoStrings()[private]

~CFrameInfoStrings()

IMPORT_C~CFrameInfoStrings()

Destructor.

Frees all resources owned by the object prior to its destruction.

Member Functions Documentation

ConstructL()

voidConstructL()[private]

Count()

IMPORT_C TIntCount()const

Returns the number of strings in the string table.

Decoder()

IMPORT_C const TPtrCDecoder()const

Returns a pointer to the 'decoder' entry string from this object.

Depth()

IMPORT_C const TPtrCDepth()const

Returns a pointer to the 'depth' entry string from this object.

Details()

IMPORT_C const TPtrCDetails()const

Returns a pointer to the 'details' entry string from this object.

Dimensions()

IMPORT_C const TPtrCDimensions()const

Returns a pointer to the 'dimensions' entry string from this object.

Format()

IMPORT_C const TPtrCFormat()const

Retruns a pointer to the 'format' entry string from this object.

NewL()

IMPORT_C CFrameInfoStrings *NewL()[static]

Static factory function for creating instances of CFrameInfoStrings.

NewLC()

IMPORT_C CFrameInfoStrings *NewLC()[static]

Static factory function for creating instances of CFrameInfoStrings. Leaves the newly allocated object on the cleanup stack.

SetDecoderL(const TDesC &)

IMPORT_C voidSetDecoderL(const TDesC &aString)

Adds the supplied string to this object as the 'decoder' entry.

Parameters

const TDesC & aStringA descriptor containing the string to add.

SetDepthL(const TDesC &)

IMPORT_C voidSetDepthL(const TDesC &aString)

Adds the supplied string to this object as the 'depth' entry.

Parameters

const TDesC & aStringA descriptor containing the string to add.

SetDetailsL(const TDesC &)

IMPORT_C voidSetDetailsL(const TDesC &aString)

Adds the supplied string to this object as the 'details' entry.

Parameters

const TDesC & aStringA descriptor containing the string to add.

SetDimensionsL(const TDesC &)

IMPORT_C voidSetDimensionsL(const TDesC &aString)

Adds the supplied string to this object as the 'dimensions' entry.

Parameters

const TDesC & aStringA descriptor containing the string to add.

SetFormatL(const TDesC &)

IMPORT_C voidSetFormatL(const TDesC &aString)

Adds the supplied string to this object as the 'format' entry.

Parameters

const TDesC & aStringA descriptor containing the string to add.

SetStringL(TInt, const TDesC &)

voidSetStringL(TIntaIndex,
const TDesC &aString
)[private]

Parameters

TInt aIndex
const TDesC & aString

String(TInt)

IMPORT_C const TPtrCString(TIntaIndex)const

Returns the string at position aIndex in the string table. The index runs from 0 to CFrameInfoStrings::Count() - 1.

Parameters

TInt aIndexThe position of the string to retrieve.

Member Enumerations Documentation

Enum TFrameInfoStringIndex

Enumerators

EDecoder = 0
EFormat = 1
EDimensions = 2
EDepth = 3
EDetails = 4

Member Data Documentation

CDesCArray * iFrameInfoStrings

CDesCArray *iFrameInfoStrings[private]