CAuthority8 Class Reference

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

Inherits from

Constructor & Destructor Documentation

CAuthority8(const TAuthorityC8 &)

CAuthority8(const TAuthorityC8 &aAuthority)[private]

Parameters

const TAuthorityC8 & aAuthority

~CAuthority8()

IMPORT_C~CAuthority8()

Member Functions Documentation

Authority()

IMPORT_C const TAuthorityC8 &Authority()const

ConstructL()

voidConstructL()[private]

FormAuthorityL()

voidFormAuthorityL()[private]

NewL(const TAuthorityC8 &)

IMPORT_C CAuthority8 *NewL(const TAuthorityC8 &aAuthority)[static]

Parameters

const TAuthorityC8 & aAuthority

NewL()

IMPORT_C CAuthority8 *NewL()[static]

NewLC(const TAuthorityC8 &)

IMPORT_C CAuthority8 *NewLC(const TAuthorityC8 &aAuthority)[static]

Parameters

const TAuthorityC8 & aAuthority

NewLC()

IMPORT_C CAuthority8 *NewLC()[static]

RemoveComponentL(TAuthorityComponent)

IMPORT_C voidRemoveComponentL(TAuthorityComponentaComponent)

Parameters

TAuthorityComponent aComponent

SetAndEscapeComponentL(const TDesC8 &, TAuthorityComponent)

IMPORT_C voidSetAndEscapeComponentL(const TDesC8 &aData,
TAuthorityComponentaComponent
)

Parameters

const TDesC8 & aData
TAuthorityComponent aComponent

SetComponentL(const TDesC8 &, TAuthorityComponent)

IMPORT_C voidSetComponentL(const TDesC8 &aData,
TAuthorityComponentaComponent
)

Parameters

const TDesC8 & aData
TAuthorityComponent aComponent

Member Data Documentation

TAuthorityC8 iAuthority

TAuthorityC8 iAuthority[private]

The parsed authority object.

HBufC8 * iAuthorityBuf

HBufC8 *iAuthorityBuf[private]

The descriptor buffer that contains the authority.