| class CAuthority8 : public CBase |
Dependencies : CBase, TAuthorityC8. Comments : Provides modifying functionality on the components of an authority object, as defined in RFC2396. There are 3 components; userinfo, host and port.
The object holds parsed authority information. It is owning. It uses 8-bit descriptors.
The functionality provided by this API allows the authority components to be set or removed from this parsed authority. Also, it provides a reference to TAuthorityC8 object so that the non-modifying functionality can be used. 6.0
| Public Member Functions | |
|---|---|
| ~CAuthority8() | |
| IMPORT_C const TAuthorityC8 & | Authority() |
| IMPORT_C CAuthority8 * | NewL(const TAuthorityC8 &) |
| IMPORT_C CAuthority8 * | NewL() |
| IMPORT_C CAuthority8 * | NewLC(const TAuthorityC8 &) |
| IMPORT_C CAuthority8 * | NewLC() |
| IMPORT_C void | RemoveComponentL(TAuthorityComponent) |
| IMPORT_C void | SetAndEscapeComponentL(const TDesC8 &, TAuthorityComponent) |
| IMPORT_C void | SetComponentL(const TDesC8 &, TAuthorityComponent) |
| Private Member Functions | |
|---|---|
| CAuthority8(const TAuthorityC8 &) | |
| void | ConstructL() |
| void | FormAuthorityL() |
| Private Attributes | |
|---|---|
| TAuthorityC8 | iAuthority |
| HBufC8 * | iAuthorityBuf |
| CAuthority8 | ( | const TAuthorityC8 & | aAuthority | ) | [private] |
| const TAuthorityC8 & aAuthority |
| IMPORT_C CAuthority8 * | NewL | ( | const TAuthorityC8 & | aAuthority | ) | [static] |
| const TAuthorityC8 & aAuthority |
| IMPORT_C CAuthority8 * | NewLC | ( | const TAuthorityC8 & | aAuthority | ) | [static] |
| const TAuthorityC8 & aAuthority |
| IMPORT_C void | RemoveComponentL | ( | TAuthorityComponent | aComponent | ) |
| TAuthorityComponent aComponent |
| IMPORT_C void | SetAndEscapeComponentL | ( | const TDesC8 & | aData, |
| TAuthorityComponent | aComponent | |||
| ) | ||||
| const TDesC8 & aData | |
| TAuthorityComponent aComponent |
| IMPORT_C void | SetComponentL | ( | const TDesC8 & | aData, |
| TAuthorityComponent | aComponent | |||
| ) | ||||
| const TDesC8 & aData | |
| TAuthorityComponent aComponent |
| HBufC8 * | iAuthorityBuf | [private] |
The descriptor buffer that contains the authority.