Symbian Developer Library

SYMBIAN OS V6.1 EDITION FOR C++

[Index] [Glossary] [Previous] [Next]



Location: concnf.h
Link against: conarc.lib

Class CCnaConvInfoFileReader

CCnaConvInfoFileReader

Support

Supported from 6.0

Description

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

Derivation

CBaseBase class for all classes to be instantiated on the heap
CCnaConvInfoFileBase class used in the derivation of CCnaConvInfoFileReader and CCnaConvInfoFileWriter
CCnaConvInfoFileReaderEncapsulates a collection of converter properties read from a converter information (.cnf) file

Defined in CCnaConvInfoFileReader:
AtL(), Count(), NewL(), NewLC(), RestoreL()

Inherited from CBase:
operator new()


Construction and destruction


NewL()

static CCnaConvInfoFileReader* NewL(const TDesC& aFileName,TUid aDllUid=KNullUid);

Description

Allocates and constructs a CCnaConvInfoFileReader for a specified converter information file.

Parameters

const TDesC& aFileName

Converter information file name

const TUid aDllUid=KNullUid

If specified, the UID3 of the file

Return value

CCnaConvInfoFileReader*

New CCnaConvInfoFileReader


NewLC()

static CCnaConvInfoFileReader* NewLC(const TDesC& aFileName,TUid aDllUid=KNullUid);

Description

Allocates and constructs a CCnaConvInfoFileReader for a specified converter information file, leaving the object on the cleanup stack.

Parameters

const TDesC& aFileName

Converter information file name

const TUid aDllUid=KNullUid

If specified, the UID3 of the file

Return value

CCnaConvInfoFileReader*

New CCnaConvInfoFileReader


RestoreL()

void RestoreL();

Description

Loads the data from the information file into the CCnaConvInfoFileReader object.

[Top]


Getters


AtL()

CCnaConverter* AtL(TInt anIndex);

Description

Gets the properties of the specified converter.

Parameters

TInt anIndex

Index of the converter

Return value

CCnaConverter*

Properties of the specified converter


Count()

TInt Count() const;

Description

Gets the number of converters described in the information file.

Return value

TInt

Number of converters