|
||
class CAuthority8 : public CBase;
Dependencies : CBase
, TAuthorityC8
. Comments : Provides modifying functionality on the components of an authority object, as defined in RFC2396. There are 3
components; userinfo, host and port.
The object holds parsed authority information. It is owning. It uses 8-bit descriptors.
The functionality provided by this API allows the authority components to be set or removed from this parsed authority. Also,
it provides a reference to TAuthorityC8
object so that the non-modifying functionality can be used.
CBase
-
Base class for all classes to be instantiated on the heap.
CAuthority8
- Dependencies : CBase, TAuthorityC8. Comments : Provides modifying functionality ...
Defined in CAuthority8
:
Authority()const
Provides a reference to the parsed authority. Allows access to the non-modifying...NewL()
Static factory constructor. Uses two phase construction and leaves nothing on th...NewL(const TAuthorityC8 &)
Static factory constructor. Uses two phase construction and leaves nothing on th...NewLC()
Static factory constructor. Uses two phase construction and leaves a pointer to ...NewLC(const TAuthorityC8 &)
Static factory constructor. Uses two phase construction and leaves a pointer to ...RemoveComponentL(TAuthorityComponent)
Removes the specified component from the authority. If the component does not ex...SetAndEscapeComponentL(const TDesC8 &,TAuthorityComponent)
Escape encodes the component then sets the specified component in the authority....SetComponentL(const TDesC8 &,TAuthorityComponent)
Sets the specified component in the authority. The component is set to the value...~CAuthority8()
Destructor.Inherited from CBase
:
Delete(CBase *)
Deletes the specified object.Extension_(TUint,TAny *&,TAny *)
Extension function operator new(TUint)
Allocates the object from the heap and then initialises its contents to binary z...operator new(TUint,TAny *)
Initialises the object to binary zeroes.operator new(TUint,TLeave)
Allocates the object from the heap and then initialises its contents to binary z...operator new(TUint,TLeave,TUint)
Allocates the object from the heap and then initialises its contents to binary z...operator new(TUint,TUint)
Allocates the object from the heap and then initialises its contents to binary z...IMPORT_C static CAuthority8* NewL(const TAuthorityC8 &aAuthority);
Static factory constructor. Uses two phase construction and leaves nothing on the CleanupStack
. Creates an authority object which is a copy of the input parameter aAuthority.
A fully constructed and initialized CAuthority8 object.
|
|
IMPORT_C static CAuthority8* NewLC(const TAuthorityC8 &aAuthority);
Static factory constructor. Uses two phase construction and leaves a pointer to created object on the CleanupStack
. Creates an authority object which is a copy of the input parameter aAuthority.
A fully constructed and initialized CAuthority8 object.
|
|
IMPORT_C static CAuthority8* NewL();
Static factory constructor. Uses two phase construction and leaves nothing on the CleanupStack
. Creates an authority object which is empty.
A fully constructed and initialized CAuthority8 object.
|
IMPORT_C static CAuthority8* NewLC();
Static factory constructor. Uses two phase construction and leaves a pointer to created object on the CleanupStack
. Creates an authority object which is empty.
A fully constructed and initialized CAuthority8 object.
|
IMPORT_C const TAuthorityC8& Authority() const;
Provides a reference to the parsed authority. Allows access to the non-modifying API for TAuthorityC8
.
|
IMPORT_C void SetComponentL(const TDesC8 &aData, TAuthorityComponent aComponent);
Object is fully constructed.
Sets the specified component in the authority. The component is set to the value given in the argument aData. If the specified component already exists then it is replaced with the new value.
The authority has the specified component set to the new value. KErrArgument If aComponent goes out of range.
|
IMPORT_C void SetAndEscapeComponentL(const TDesC8 &aData, TAuthorityComponent aComponent);
Object is fully constructed.
Escape encodes the component then sets the specified component in the authority. The component is set to the value given in the argument aData. If the specified component already exists then it is replaced with the new value.
The authority has the specified component set to the new value.
|
IMPORT_C void RemoveComponentL(TAuthorityComponent aComponent);
Object is fully constructed.
Removes the specified component from the authority. If the component does not exist then this function does nothing.
The authority is updated to exclude the specified component.
|