class TAuthorityC8 |
Dependencies : TAuthorityComponent. Comments : Provides non-modifying functionality on the components of an authority object as defined in RFC2396. There are 3 components; userinfo, host and port.
The object holds descriptor pointers to the parsed authority components and a descriptor pointer to the authority. It is non-owning. It uses 8-bit descriptors.
The functionality provided by this API allows the authority components to be extracted from the parsed authority, checked for their presence in the authority and be compared with those in another TAuthorityC8 object. 6.0
Public Member Functions | |
---|---|
IMPORT_C const TDesC8 & | AuthorityDes() |
IMPORT_C TInt | Compare(const TAuthorityC8 &, TAuthorityComponent) |
IMPORT_C HBufC * | DisplayFormL(TAuthorityComponent) |
IMPORT_C const TDesC8 & | Extract(TAuthorityComponent) |
IMPORT_C TBool | IsPresent(TAuthorityComponent) |
Protected Member Functions | |
---|---|
TAuthorityC8() | |
void | Reset() |
Protected Attributes | |
---|---|
TPtrC8 | iAuthorityDes |
TPtrC8 | iComponent |
IMPORT_C TInt | Compare | ( | const TAuthorityC8 & | aAuthority, |
TAuthorityComponent | aComponent | |||
) | const |
const TAuthorityC8 & aAuthority | |
TAuthorityComponent aComponent |
IMPORT_C HBufC * | DisplayFormL | ( | TAuthorityComponent | aComponent = EAuthorityComplete | ) | const |
TAuthorityComponent aComponent = EAuthorityComplete |
IMPORT_C const TDesC8 & | Extract | ( | TAuthorityComponent | aComponent | ) | const |
TAuthorityComponent aComponent |
IMPORT_C TBool | IsPresent | ( | TAuthorityComponent | aComponent | ) | const |
TAuthorityComponent aComponent |
TPtrC8 | iComponent | [protected] |
The array of descriptor pointers to the authority components.