TUriC16 Class Reference

class TUriC16

Dependencies : TUriComponent. Comments : Provides non-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 descriptor pointers to the parsed uri components and a descriptor pointer to the uri. It is non-owning. It uses 16-bit descriptors.

The functionality provided by this API allows the uri components to be extracted from the parsed uri, checked for their presence in the uri and be compared with those in another TUriC16 object. Deprecated in 9.1

6.0

Public Member Functions
IMPORT_C TIntCompare(const TUriC16 &, TUriComponent)
IMPORT_C HBufC *DisplayFormL(TUriComponent)
IMPORT_C TIntEquivalent(const TUriC16 &)
IMPORT_C const TDesC16 &Extract(TUriComponent)
IMPORT_C HBufC *GetFileNameL()
IMPORT_C HBufC *GetFileNameL(TUriFileName)
IMPORT_C TBoolIsPresent(TUriComponent)
IMPORT_C TBoolIsSchemeValid()
IMPORT_C const TDesC16 &UriDes()
IMPORT_C voidUriWithoutFragment(TPtrC16 &)
IMPORT_C TIntValidate()
Protected Member Functions
TUriC16()
voidReset()
Private Member Functions
TInt EquivalentL(const TDesC16 &)
TInt ValidateL()
Protected Attributes
TPtrC16 iComponent
TPtrC16 iUriDes

Constructor & Destructor Documentation

TUriC16()

IMPORT_CTUriC16()[protected]

Member Functions Documentation

Compare(const TUriC16 &, TUriComponent)

IMPORT_C TIntCompare(const TUriC16 &aUri,
TUriComponentaComponent
)const

Parameters

const TUriC16 & aUri
TUriComponent aComponent

DisplayFormL(TUriComponent)

IMPORT_C HBufC *DisplayFormL(TUriComponentaComponent = EUriComplete)const

Parameters

TUriComponent aComponent = EUriComplete

Equivalent(const TUriC16 &)

IMPORT_C TIntEquivalent(const TUriC16 &aUri)const

Parameters

const TUriC16 & aUri

EquivalentL(const TDesC16 &)

TInt EquivalentL(const TDesC16 &aUri)const [private]

Parameters

const TDesC16 & aUri

Extract(TUriComponent)

IMPORT_C const TDesC16 &Extract(TUriComponentaComponent)const

Parameters

TUriComponent aComponent

GetFileNameL()

IMPORT_C HBufC *GetFileNameL()const

GetFileNameL(TUriFileName)

IMPORT_C HBufC *GetFileNameL(TUriFileNameaType)const

Parameters

TUriFileName aType

IsPresent(TUriComponent)

IMPORT_C TBoolIsPresent(TUriComponentaComponent)const

Parameters

TUriComponent aComponent

IsSchemeValid()

IMPORT_C TBoolIsSchemeValid()const

Reset()

voidReset()[protected]

UriDes()

IMPORT_C const TDesC16 &UriDes()const

UriWithoutFragment(TPtrC16 &)

IMPORT_C voidUriWithoutFragment(TPtrC16 &aUriNoFrag)const

Parameters

TPtrC16 & aUriNoFrag

Validate()

IMPORT_C TIntValidate()const

ValidateL()

TInt ValidateL()const [private]

Member Data Documentation

TPtrC16 iComponent

TPtrC16 iComponent[protected]

The array of descriptor pointers to the uri components.

TPtrC16 iUriDes

TPtrC16 iUriDes[protected]

The descriptor pointer to the uri.