Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



Location: Authority16.h
Link against: inetprotutil.lib

Class TAuthorityParser16

class TAuthorityParser16 : public TAuthorityC16;

Description

Dependencies : TAuthorityC16 Comments : Provides functionality to parse a descriptor into the components of an authority as defined in RFC2396. There are 3 components; userinfo, host and port.

This uses 16-bit descriptors.

Format of an authority is; [userinfo@]host[:port]

Derivation

Members

Defined in TAuthorityParser16:
Parse(), TAuthorityParser16()

Inherited from TAuthorityC16:
AuthorityDes(), Compare(), DisplayFormL(), Extract(), IsPresent(), iAuthorityDes, iComponent


Construction and destruction


TAuthorityParser16()

IMPORT_C TAuthorityParser16();

Description

Constructor.

[Top]


Member functions


Parse()

IMPORT_C TInt Parse(const TDesC16 &aAuthority);

Description

Parses the descriptor aAuthority into authority components.

Post-Condition

The object references the input descriptor.

Parameters

const TDesC16 &aAuthority

Return value

TInt

KErrNone if the descriptor has been parsed into its authority components.