| class CWTLSText : public CBase |
| 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 &) |
| Protected Attributes | |
|---|---|
| HBufC * | iName |
| Private Attributes | |
|---|---|
| TInt | iCharacterSet |
| 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.
| void | ConstructL | ( | const TDesC8 & | aBinaryData, |
| TInt & | aPos | |||
| ) | [protected] | |||
| IMPORT_C TBool | ExactMatchL | ( | const CWTLSText & | aName | ) | const |
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.
| const CWTLSText & aName | An existing CWTLSText object. |
| IMPORT_C CWTLSText * | NewL | ( | const TDesC8 & | aBinaryData | ) | [static] |
Creates a new CWTLSText object from the specified buffer containing the binary coded representation.
| const TDesC8 & aBinaryData | The encoded binary representation. |
| IMPORT_C CWTLSText * | NewL | ( | const TDesC8 & | aBinaryData, |
| TInt & | aPos | |||
| ) | [static] | |||
Creates a new CWTLSText object from the specified buffer containing the binary coded representation, starting at the specified offset.
| IMPORT_C CWTLSText * | NewLC | ( | const TDesC8 & | aBinaryData | ) | [static] |
Creates a new CWTLSText object from the specified buffer containing the binary coded representation, and puts a pointer to it onto the cleanup stack.
| const TDesC8 & aBinaryData | The encoded binary representation. |
| IMPORT_C CWTLSText * | NewLC | ( | const TDesC8 & | aBinaryData, |
| TInt & | aPos | |||
| ) | [static] | |||
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.
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.