class TAuthorityParser16 : public TAuthorityC16 |
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]
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.
Public Member Functions | |
---|---|
TAuthorityParser16() | |
IMPORT_C TInt | Parse(const TDesC16 &) |
Inherited Attributes | |
---|---|
TAuthorityC16::iAuthorityDes | |
TAuthorityC16::iComponent |
IMPORT_C TInt | Parse | ( | const TDesC16 & | aAuthority | ) |
Parses the descriptor aAuthority into authority components.
const TDesC16 & aAuthority | A reference to a descriptor pointer to be parsed. |
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.