![Symbian Developer Library](../../../../a_stock/images/mainheading.gif)
![]() |
![]() |
|
class CCnvCharacterSetNames : public CBase, public MDesC16Array;
A localised list of the names of non-Unicode character set encodings supported on the phone.
For each character conversion plug-in DLL, there are one or more resource files which contain the name of the encoding translated into a different language.
This class populates a list of the names of all encodings supported on the phone by reading the appropriate resource file for each one. The list is sorted according to the collation rules for the device's current locale.
The virtual functions CCnvCharacterSetNames::MdcaCount()const
(returns the number of items in the list) and CCnvCharacterSetNames::MdcaPoint(TInt)const
(returns a TPtrC for the item at the given index) are implemented privately in this class. Users of this class can call them
through the MDesCArray interface.
MDesC16Array
- Interface class for 16 bit descriptor arrays. It should be inherited by classes ...
CBase
-
Base class for all classes to be instantiated on the heap.
CCnvCharacterSetNames
- A localised list of the names of non-Unicode character set encodings supported o...
Defined in CCnvCharacterSetNames
:
IdentifierAtIndex(TInt)const
Gets the character set identifier at the specified index into the list.IndexOfIdentifier(TUint)const
Gets the index into the sorted list of the character set identifier specified.MdcaCount()const
RequirementsMdcaPoint(TInt)const
Requirements~CCnvCharacterSetNames()
Deletes the array of named plug-ins owned by the object prior to its destruction...Inherited from CBase
:
Delete(CBase *)
Deletes the specified object.Extension_(TUint,TAny *&,TAny *)
Extension function operator new(TUint)
Allocates the object from the heap and then initialises its contents to binary z...operator new(TUint,TAny *)
Initialises the object to binary zeroes.operator new(TUint,TLeave)
Allocates the object from the heap and then initialises its contents to binary z...operator new(TUint,TLeave,TUint)
Allocates the object from the heap and then initialises its contents to binary z...operator new(TUint,TUint)
Allocates the object from the heap and then initialises its contents to binary z...IMPORT_C static CCnvCharacterSetNames* NewL(RFs &aFileServerSession, const TArray< CCnvCharacterSetConverter::SCharacterSet
> &aArrayOfCharacterSetsAvailable);
Allocates and constructs a localised list of character set encoding names.
|
|
IMPORT_C static CCnvCharacterSetNames* NewLC(RFs &aFileServerSession, const TArray< CCnvCharacterSetConverter::SCharacterSet
> &aArrayOfCharacterSetsAvailable);
Allocates and constructs a localised list of character set encoding names. Puts a pointer to the object on the cleanup stack.
|
|
IMPORT_C virtual ~CCnvCharacterSetNames();
Deletes the array of named plug-ins owned by the object prior to its destruction.
IMPORT_C TInt IndexOfIdentifier(TUint aIdentifier) const;
Gets the index into the sorted list of the character set identifier specified.
|
|
IMPORT_C TUint IdentifierAtIndex(TInt aIndex) const;
Gets the character set identifier at the specified index into the list.
|
|
private: virtual TInt MdcaCount() const;
Requirements
Returns the number of descriptor elements in a descriptor array.
|
private: virtual TPtrC MdcaPoint(TInt aIndex) const;
Requirements
Indexes into a descriptor array.
|
|