CUri8 Class Reference

class CUri8 : public CBase

Dependencies : CBase, TUriC8. Comments : Provides 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 parsed uri information. It is owning. It uses 8-bit descriptors.

The functionality provided by this API allows the uri components to be set or removed from this parsed uri. Also, it provides a reference to TUriC8 object so that the non-modifying functionality can be used. 6.0

Inherits from

Constructor & Destructor Documentation

CUri8(const TUriC8 &)

CUri8(const TUriC8 &aNewUri)[private]

Parameters

const TUriC8 & aNewUri

~CUri8()

IMPORT_C~CUri8()

Member Functions Documentation

ConstructL()

voidConstructL()[private]

CreateFileUriL(const TDesC &, TUint)

IMPORT_C CUri8 *CreateFileUriL(const TDesC &aFullFileName,
TUintaFlags = 0
)[static]

Parameters

const TDesC & aFullFileName
TUint aFlags = 0

CreatePrivateFileUriL(const TDesC &, TDriveNumber, TInt)

IMPORT_C CUri8 *CreatePrivateFileUriL(const TDesC &aRelativeFileName,
TDriveNumberaDrive,
TIntaFlags = 0
)[static]

Parameters

const TDesC & aRelativeFileName
TDriveNumber aDrive
TInt aFlags = 0

FormUriL()

voidFormUriL()[private]

InitializeFileUriComponentsL(const TDesC &, TDriveNumber, TUint)

voidInitializeFileUriComponentsL(const TDesC &aFileName,
TDriveNumberaDrive,
TUintaFlags
)[private]

Parameters

const TDesC & aFileName
TDriveNumber aDrive
TUint aFlags

NewL(const TUriC8 &)

IMPORT_C CUri8 *NewL(const TUriC8 &aUri)[static]

Parameters

const TUriC8 & aUri

NewL()

IMPORT_C CUri8 *NewL()[static]

NewLC(const TUriC8 &)

IMPORT_C CUri8 *NewLC(const TUriC8 &aUri)[static]

Parameters

const TUriC8 & aUri

NewLC()

IMPORT_C CUri8 *NewLC()[static]

RemoveComponentL(TUriComponent)

IMPORT_C voidRemoveComponentL(TUriComponentaComponent)

Parameters

TUriComponent aComponent

ResolveL(const TUriC8 &, const TUriC8 &)

IMPORT_C CUri8 *ResolveL(const TUriC8 &aBaseUri,
const TUriC8 &aRefUri
)[static]

Parameters

const TUriC8 & aBaseUri
const TUriC8 & aRefUri

SetComponentL(const TDesC8 &, TUriComponent)

IMPORT_C voidSetComponentL(const TDesC8 &aData,
TUriComponentaComponent
)

Parameters

const TDesC8 & aData
TUriComponent aComponent

Uri()

IMPORT_C const TUriC8 &Uri()const

Member Data Documentation

TUriC8 iUri

TUriC8 iUri[private]

The parsed uri object.

HBufC8 * iUriBuf

HBufC8 *iUriBuf[private]

The descriptor buffer that contains the uri.