#include <CONCNF.H>
Link against:
conarc.lib
Class CCnaConvInfoFileReader2
class CCnaConvInfoFileReader2 : public CCnaConvInfoFile2;
Description
Encapsulates a collection of converter properties (CCnaConverter
) read from a converter information (.rsc) file.
Derivation
CCnaConvInfoFile2
- No description.
CCnaConvInfoFileReader2
- Encapsulates a collection of converter properties (CCnaConverter) read from a co...
Members
Defined in CCnaConvInfoFileReader2
:
AtL(TInt)
Constructs and returns a new CCnaConverter object that is a copy of the converte...
Count()
Gets the number of converters that were restored from the .rsc file.
NewL(const TDesC &)
Constructs a CCnaConvInfoFileReader2 object for a given .rsc file.
NewLC(const TDesC &)
Constructs a CCnaConvInfoFileReader2 object for a given .rsc file.
RestoreL()
Restores all the converters from the .rsc file that was specified in the CCnaCon...
Construction and destruction
IMPORT_C static CCnaConvInfoFileReader2* NewLC(const TDesC &aFileName);
Description
Constructs a CCnaConvInfoFileReader2 object for a given .rsc file.
Parameters
const TDesC16 &aFileName |
The .rsc file name.
|
|
Return value
IMPORT_C static CCnaConvInfoFileReader2* NewL(const TDesC &aFileName);
Description
Constructs a CCnaConvInfoFileReader2 object for a given .rsc file.
Parameters
const TDesC16 &aFileName |
The .rsc file name.
|
|
Return value
IMPORT_C TInt Count();
Description
Gets the number of converters that were restored from the .rsc file.
This function returns zero if CCnaConvInfoFileReader2::RestoreL()
has not been called.
Return value
TInt
|
The number of converters.
|
|
IMPORT_C CCnaConverter* AtL(TInt anIndex);
Description
Constructs and returns a new CCnaConverter
object that is a copy of the converter at the specified index.
Parameters
Return value
CCnaConverter *
|
A copy of the converter at the specified index. The caller takes ownership.
|
|
IMPORT_C void RestoreL();
Description
Restores all the converters from the .rsc file that was specified in the CCnaConvInfoFileReader2::NewL(const TDesC &)
or CCnaConvInfoFileReader2::NewLC(const TDesC &)
.