class TUriC8 |
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 8-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 TUriC8 object. 6.0
Public Member Functions | |
---|---|
IMPORT_C TInt | Compare(const TUriC8 &, TUriComponent) |
IMPORT_C HBufC * | DisplayFormL(TUriComponent) |
IMPORT_C TInt | Equivalent(const TUriC8 &) |
IMPORT_C const TDesC8 & | Extract(TUriComponent) |
IMPORT_C HBufC * | GetFileNameL() |
IMPORT_C HBufC * | GetFileNameL(TUriFileName) |
IMPORT_C TBool | IsPresent(TUriComponent) |
IMPORT_C TBool | IsSchemeValid() |
IMPORT_C const TDesC8 & | UriDes() |
IMPORT_C void | UriWithoutFragment(TPtrC8 &) |
IMPORT_C TInt | Validate() |
Protected Member Functions | |
---|---|
TUriC8() | |
void | Reset() |
Protected Attributes | |
---|---|
TPtrC8 | iComponent |
TPtrC8 | iUriDes |
IMPORT_C TInt | Compare | ( | const TUriC8 & | aUri, |
TUriComponent | aComponent | |||
) | const |
const TUriC8 & aUri | |
TUriComponent aComponent |
IMPORT_C HBufC * | DisplayFormL | ( | TUriComponent | aComponent = EUriComplete | ) | const |
TUriComponent aComponent = EUriComplete |
IMPORT_C TInt | Equivalent | ( | const TUriC8 & | aUri | ) | const |
const TUriC8 & aUri |
IMPORT_C const TDesC8 & | 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 | ( | TPtrC8 & | aUriNoFrag | ) | const |
TPtrC8 & aUriNoFrag |
TPtrC8 | iComponent | [protected] |
The array of descriptor pointers to the uri components.