CCnaConvInfoFileReader2 Class Reference

class CCnaConvInfoFileReader2 : public CCnaConvInfoFile2

Encapsulates a collection of converter properties ( CCnaConverter ) read from a converter information (.rsc) file.

Inherits from

Constructor & Destructor Documentation

CCnaConvInfoFileReader2()

CCnaConvInfoFileReader2 ( ) [private]

Member Functions Documentation

AtL(TInt)

IMPORT_C CCnaConverter * AtL ( TInt anIndex )

Constructs and returns a new CCnaConverter object that is a copy of the converter at the specified index.

Parameters

TInt anIndex An index into the object's array of converters. The array is created by calling RestoreL(). The index must be valid, or a panic occurs.

ConstructL(const TDesC &)

void ConstructL ( const TDesC & aFileName ) [private]

Parameters

const TDesC & aFileName

Count()

IMPORT_C TInt Count ( )

Gets the number of converters that were restored from the .rsc file.

This function returns zero if RestoreL() has not been called.

NewL(const TDesC &)

IMPORT_C CCnaConvInfoFileReader2 * NewL ( const TDesC & aFileName ) [static]

Constructs a CCnaConvInfoFileReader2 object for a given .rsc file.

Parameters

const TDesC & aFileName The .rsc file name.

NewLC(const TDesC &)

IMPORT_C CCnaConvInfoFileReader2 * NewLC ( const TDesC & aFileName ) [static]

Constructs a CCnaConvInfoFileReader2 object for a given .rsc file.

Parameters

const TDesC & aFileName The .rsc file name.

RestoreConverterL(TResourceReader &)

void RestoreConverterL ( TResourceReader & aReader ) [private]

Parameters

TResourceReader & aReader

RestoreL()

IMPORT_C void RestoreL ( )

Restores all the converters from the .rsc file that was specified in the NewL() or NewLC() .