#include <wtlsnames.h>
| class CWTLSText : public CBase |
| Protected Attributes | |
|---|---|
| HBufC * | iName |
| Public Member Functions | |
|---|---|
| ~CWTLSText() | |
| IMPORT_C TWTLSCharSet | CharacterSet() |
| IMPORT_C TBool | ExactMatchL(const CWTLSText &) |
| IMPORT_C TPtrC | Name() |
| IMPORT_C CWTLSText * | NewL(const TDesC8 &) |
| IMPORT_C CWTLSText * | NewL(const TDesC8 &, TInt &) |
| IMPORT_C CWTLSText * | NewLC(const TDesC8 &) |
| IMPORT_C CWTLSText * | NewLC(const TDesC8 &, TInt &) |
| Protected Member Functions | |
|---|---|
| CWTLSText() | |
| void | ConstructL(const TDesC8 &, TInt &) |
| IMPORT_C | ~CWTLSText | ( | ) |
Destructor.
Frees all resources owned by the object, prior to its destruction.
| IMPORT_C TWTLSCharSet | CharacterSet | ( | ) | const |
Gets the character set of the CWTLSText object.
Returns: The character set
Performs a simple byte compare between this CWTLSText object and a specified CWTLSText object.
There is a subtle difference between this byte-match and CWTLSName::ExactMatchL(). As opposed to the latter, this function should successfully match two names that are the same that were encoded using different character sets.
| Parameter | Description |
|---|---|
| aName | An existing CWTLSText object. |
Returns: ETrue, if the CWTLSText objects match; EFalse, otherwise.
Creates a new CWTLSText object from the specified buffer containing the binary coded representation, starting at the specified offset.
| Parameter | Description |
|---|---|
| aBinaryData | The encoded binary representation. |
| aPos | The offset position from which to start decoding. It specifies an offset into the descriptor, and is updated to the position at the end of the object. |
Returns: The new CWTLSText object.
Creates a new CWTLSText object from the specified buffer containing the binary coded representation, and puts a pointer to it onto the cleanup stack.
| Parameter | Description |
|---|---|
| aBinaryData | The encoded binary representation. |
Returns: The new CWTLSText object.
Creates a new CWTLSText object from the specified buffer containing the binary coded representation, starting at the specified offset, and puts a pointer to it onto the cleanup stack.
| Parameter | Description |
|---|---|
| aBinaryData | The encoded binary representation. |
| aPos | The offset position from which to start decoding. It specifies an offset into the descriptor, and is updated to the position at the end of the object. |
Returns: The new CWTLSText object.