TUriParser8 Class Reference

class TUriParser8 : public TUriC8

Dependencies : TUriC8 Comments : Provides functionality to parse a descriptor into the components of a uri as defined in RFC2396. There are 5 components; scheme, authority, path, query and fragment.

It uses 8-bit descriptors.

Format of a uri is; scheme://authority path?query#fragment

CAUTION:

The descriptor that is parsed by an object of this class will be referenced by that object. If the original descriptor is no longer in scope there will be undefined behaviour.

Since
6.0

Inherits from

Constructor & Destructor Documentation

TUriParser8()

IMPORT_CTUriParser8()

Constructor.

Since
6.0

Member Functions Documentation

Parse(const TDesC8 &)

IMPORT_C TIntParse(const TDesC8 &aUri)

Parses the descriptor aUri into uri components.

Since
6.0
Post-condition
The object references the input descriptor.

Parameters

const TDesC8 & aUriA reference to a descriptor pointer to be parsed.

RetrieveScheme(const TPtrC8 &, TPtrC8 &)

voidRetrieveScheme(const TPtrC8 &aUri,
TPtrC8 &aScheme
)[private]

Parses the descriptor aUri into uri components.

Parameters

const TPtrC8 & aUriA reference to a descriptor pointer of an Uri.
TPtrC8 & aSchemeA reference to a descriptor pointer for retieved scheme component.