class TUriC16 |
Dependencies : TUriComponent. Comments : Provides non-modifying functionality on the components of a uri object as defined in RFC2396. There are 5 components; scheme, authority, path, query and fragment.
The object holds descriptor pointers to the parsed uri components and a descriptor pointer to the uri. It is non-owning. It uses 16-bit descriptors.
The functionality provided by this API allows the uri components to be extracted from the parsed uri, checked for their presence in the uri and be compared with those in another TUriC16 object. Deprecated in 9.1
6.0
Public Member Functions | |
---|---|
IMPORT_C TInt | Compare(const TUriC16 &, TUriComponent) |
IMPORT_C HBufC * | DisplayFormL(TUriComponent) |
IMPORT_C TInt | Equivalent(const TUriC16 &) |
IMPORT_C const TDesC16 & | Extract(TUriComponent) |
IMPORT_C HBufC * | GetFileNameL() |
IMPORT_C HBufC * | GetFileNameL(TUriFileName) |
IMPORT_C TBool | IsPresent(TUriComponent) |
IMPORT_C TBool | IsSchemeValid() |
IMPORT_C const TDesC16 & | UriDes() |
IMPORT_C void | UriWithoutFragment(TPtrC16 &) |
IMPORT_C TInt | Validate() |
Protected Member Functions | |
---|---|
TUriC16() | |
void | Reset() |
Private Member Functions | |
---|---|
TInt | EquivalentL(const TDesC16 &) |
TInt | ValidateL() |
Protected Attributes | |
---|---|
TPtrC16 | iComponent |
TPtrC16 | iUriDes |
IMPORT_C TInt | Compare | ( | const TUriC16 & | aUri, |
TUriComponent | aComponent | |||
) | const |
const TUriC16 & aUri | |
TUriComponent aComponent |
IMPORT_C HBufC * | DisplayFormL | ( | TUriComponent | aComponent = EUriComplete | ) | const |
TUriComponent aComponent = EUriComplete |
IMPORT_C TInt | Equivalent | ( | const TUriC16 & | aUri | ) | const |
const TUriC16 & aUri |
TInt | EquivalentL | ( | const TDesC16 & | aUri | ) | const [private] |
const TDesC16 & aUri |
IMPORT_C const TDesC16 & | Extract | ( | TUriComponent | aComponent | ) | const |
TUriComponent aComponent |
IMPORT_C HBufC * | GetFileNameL | ( | TUriFileName | aType | ) | const |
TUriFileName aType |
IMPORT_C TBool | IsPresent | ( | TUriComponent | aComponent | ) | const |
TUriComponent aComponent |
IMPORT_C void | UriWithoutFragment | ( | TPtrC16 & | aUriNoFrag | ) | const |
TPtrC16 & aUriNoFrag |
TPtrC16 | iComponent | [protected] |
The array of descriptor pointers to the uri components.