CFrameInfoStrings Class Reference

#include <icl/imagedata.h>

Link against: imageconversion.lib

class CFrameInfoStrings : public CBase

Inherits from

Detailed Description

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

Constructor & Destructor Documentation

~CFrameInfoStrings ( )

IMPORT_C~CFrameInfoStrings()

Destructor.

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

Member Function Documentation

Count ( )

IMPORT_C TIntCount()const

Returns the number of strings in the string table.

Return Value
Returns the number of entries in the string table.

Decoder ( )

IMPORT_C const TPtrCDecoder()const

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

Return Value
A read-only pointer to the returned string.

Depth ( )

IMPORT_C const TPtrCDepth()const

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

Return Value
A pointer to the returned read-only string.

Details ( )

IMPORT_C const TPtrCDetails()const

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

Return Value
A pointer to the returned read-only string.

Dimensions ( )

IMPORT_C const TPtrCDimensions()const

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

Return Value
A pointer to the returned read-only string.

Format ( )

IMPORT_C const TPtrCFormat()const

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

Return Value
A pointer to the returned read-only string.

NewL ( )

IMPORT_C CFrameInfoStrings *NewL()[static]

Static factory function for creating instances of CFrameInfoStrings.

Return Value
A pointer to a fully constructed CFrameInfoStrings.

NewLC ( )

IMPORT_C CFrameInfoStrings *NewLC()[static]

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

Return Value
A pointer to a fully constructed CFrameInfoStrings.

SetDecoderL ( const TDesC & )

IMPORT_C voidSetDecoderL(const TDesC &aString)

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

Parameters
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
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
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
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
aStringA descriptor containing the string to add.

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
aIndexThe position of the string to retrieve.
Return Value
A pointer to the string at the given index.