Location:
concnf.h
Link against: conarc.lib
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 converter information (.rsc) file
Members
Defined in CCnaConvInfoFileReader2
:
AtL()
, Count()
, NewL()
, NewLC()
, RestoreL()
static IMPORT_C CCnaConvInfoFileReader2 *NewLC(const TDesC &aFileName);
Description
Constructs a CCnaConvInfoFileReader2 object for a given .rsc file.
Parameters
const TDesC &aFileName |
The .rsc file name.
|
|
Return value
static IMPORT_C CCnaConvInfoFileReader2 *NewL(const TDesC &aFileName);
Description
Constructs a CCnaConvInfoFileReader2 object for a given .rsc file.
Parameters
const TDesC &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 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
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.
|
|
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 NewL()
or NewLC()
.