TUriC8 Class Reference

class TUriC8

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 8-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 TUriC8 object. 6.0

Public Member Functions
IMPORT_C TIntCompare(const TUriC8 &, TUriComponent)
IMPORT_C HBufC *DisplayFormL(TUriComponent)
IMPORT_C TIntEquivalent(const TUriC8 &)
IMPORT_C const TDesC8 &Extract(TUriComponent)
IMPORT_C HBufC *GetFileNameL()
IMPORT_C HBufC *GetFileNameL(TUriFileName)
IMPORT_C TBoolIsPresent(TUriComponent)
IMPORT_C TBoolIsSchemeValid()
IMPORT_C const TDesC8 &UriDes()
IMPORT_C voidUriWithoutFragment(TPtrC8 &)
IMPORT_C TIntValidate()
Protected Member Functions
TUriC8()
voidReset()
Protected Attributes
TPtrC8 iComponent
TPtrC8 iUriDes

Constructor & Destructor Documentation

TUriC8()

IMPORT_CTUriC8()[protected]

Member Functions Documentation

Compare(const TUriC8 &, TUriComponent)

IMPORT_C TIntCompare(const TUriC8 &aUri,
TUriComponentaComponent
)const

Parameters

const TUriC8 & aUri
TUriComponent aComponent

DisplayFormL(TUriComponent)

IMPORT_C HBufC *DisplayFormL(TUriComponentaComponent = EUriComplete)const

Parameters

TUriComponent aComponent = EUriComplete

Equivalent(const TUriC8 &)

IMPORT_C TIntEquivalent(const TUriC8 &aUri)const

Parameters

const TUriC8 & aUri

Extract(TUriComponent)

IMPORT_C const TDesC8 &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 TDesC8 &UriDes()const

UriWithoutFragment(TPtrC8 &)

IMPORT_C voidUriWithoutFragment(TPtrC8 &aUriNoFrag)const

Parameters

TPtrC8 & aUriNoFrag

Validate()

IMPORT_C TIntValidate()const

Member Data Documentation

TPtrC8 iComponent

TPtrC8 iComponent[protected]

The array of descriptor pointers to the uri components.

TPtrC8 iUriDes

TPtrC8 iUriDes[protected]

The descriptor pointer to the uri.