CUri16 Class Reference

class CUri16 : public CBase

Dependencies : CBase, TUriC16. 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 16-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 TUriC16 object so that the non-modifying functionality can be used. Deprecated in 9.1

6.0

Inherits from

Constructor & Destructor Documentation

CUri16(const TUriC16 &)

CUri16(const TUriC16 &aNewUri)[private]

Parameters

const TUriC16 & aNewUri

~CUri16()

IMPORT_C~CUri16()

Member Functions Documentation

ConstructL()

voidConstructL()[private]

CreateFileUriL(const TDesC &, TUint)

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

Parameters

const TDesC & aFullFileName
TUint aFlags = 0

CreatePrivateFileUriL(const TDesC &, TDriveNumber, TInt)

IMPORT_C CUri16 *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 TUriC16 &)

IMPORT_C CUri16 *NewL(const TUriC16 &aUri)[static]

Parameters

const TUriC16 & aUri

NewL()

IMPORT_C CUri16 *NewL()[static]

NewLC(const TUriC16 &)

IMPORT_C CUri16 *NewLC(const TUriC16 &aUri)[static]

Parameters

const TUriC16 & aUri

NewLC()

IMPORT_C CUri16 *NewLC()[static]

RemoveComponentL(TUriComponent)

IMPORT_C voidRemoveComponentL(TUriComponentaComponent)

Parameters

TUriComponent aComponent

ResolveL(const TUriC16 &, const TUriC16 &)

IMPORT_C CUri16 *ResolveL(const TUriC16 &aBaseUri,
const TUriC16 &aRefUri
)[static]

Parameters

const TUriC16 & aBaseUri
const TUriC16 & aRefUri

SetComponentL(const TDesC16 &, TUriComponent)

IMPORT_C voidSetComponentL(const TDesC16 &aData,
TUriComponentaComponent
)

Parameters

const TDesC16 & aData
TUriComponent aComponent

Uri()

IMPORT_C const TUriC16 &Uri()const

Member Data Documentation

TUriC16 iUri

TUriC16 iUri[private]

The parsed uri object.

HBufC16 * iUriBuf

HBufC16 *iUriBuf[private]

The descriptor buffer that contains the uri.