TAuthorityC8 Class Reference
Dependencies : TAuthorityComponent. Comments : Provides non-modifying functionality on the components of an authority object as defined in RFC2396. There are 3 components; userinfo, host and port.
The object holds descriptor pointers to the parsed authority components and a descriptor pointer to the authority. It is non-owning. It uses 8-bit descriptors.
The functionality provided by this API allows the authority components to be extracted from the parsed authority, checked for their presence in the authority and be compared with those in another
TAuthorityC8 object.
- Since
- 6.0
Constructor & Destructor Documentation
TAuthorityC8()
IMPORT_C | TAuthorityC8 | ( | ) | [protected] |
Member Functions Documentation
AuthorityDes()
IMPORT_C const TDesC8 & | AuthorityDes | ( | ) | const |
Retrieves the descriptor for the entire authority.
Compare(const TAuthorityC8 &, TAuthorityComponent)
Compares the specified component against the one in the authority passed in.
DisplayFormL(TAuthorityComponent)
Create a new HBufC descriptor containing the desired component or the full Authority.
Parameters
TAuthorityComponent aComponent = EAuthorityComplete | The component to convert into Unicode (EAuthorityScheme - EAuthorityFragment) or the full authority (EAuthorityComplete -- the default)). |
Extract(TAuthorityComponent)
Retrieves the specified component in the authority.
IsPresent(TAuthorityComponent)
Indicates whether the specified component is present in the authority.
Reset()
Resets the descriptor pointers for the authority components and the authority.
- Since
- 6.0
- Post-condition
- All authority component information is removed and the authority descriptor is set to NULL.
Member Data Documentation
TPtrC8
iAuthorityDes
TPtrC8
| iAuthorityDes | [protected] |
The descriptor pointer to the authority.
TPtrC8
iComponent
The array of descriptor pointers to the authority components.
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.