CCnaConvInfoFileReader2 Class Reference

#include <mw/concnf.h>

Link against: conarc.lib

class CCnaConvInfoFileReader2 : public CCnaConvInfoFile2

Inherits from

Detailed Description

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

Member Function Documentation

AtL ( TInt )

IMPORT_C CCnaConverter *AtL(TIntanIndex)

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

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

Returns: A copy of the converter at the specified index. The caller takes ownership.

Count ( )

IMPORT_C TIntCount()

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

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

Returns: The number of converters.

NewL ( const TDesC & )

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

Constructs a CCnaConvInfoFileReader2 object for a given .rsc file.

ParameterDescription
aFileNameThe .rsc file name.

Returns: The new CCnaConvInfoFileReader2 object.

NewLC ( const TDesC & )

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

Constructs a CCnaConvInfoFileReader2 object for a given .rsc file.

ParameterDescription
aFileNameThe .rsc file name.

Returns: The new CCnaConvInfoFileReader2 object.

RestoreL ( )

IMPORT_C voidRestoreL()

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