CSIPAddress Class Reference
#include
<mw/sipaddress.h>
Link against: sipcodec.lib
class CSIPAddress : public CBase |
Detailed Description
Class provides functions for setting and getting parameters in SIP name-addr structure
Constructor & Destructor Documentation
Member Function Documentation
DecodeL ( const TDesC8 & )
Parameter | Description | aValue | SIP name-addr as text |
Returns: a new instance of CSIPAddress
DisplayName ( )
IMPORT_C const TDesC8 & | DisplayName | ( | ) | const |
Returns: the display name if present, otherwise a zero-length descriptor
ExternalizeL ( RWriteStream & )
Parameter | Description | aWriteStream | a stream where the object is to be externalized |
InternalizeL ( RReadStream & )
Parameter | Description | aReadStream | a stream containing the externalized object |
Returns: an instance of a CSIPAddress
NewL ( CUri8 * )
Creates a new instance of
CSIPAddress - Pre-condition
- aUri != 0
Returns: a new instance of CSIPAddress
NewL ( const TDesC8 &, CUri8 * )
Creates a new instance of
CSIPAddress - Pre-condition
- aUri != 0
Parameter | Description | aDisplayName | a SIP token or a SIP quoted-string |
Returns: a new instance of CSIPAddress
NewL ( const CSIPAddress & )
Parameter | Description | aSIPAddress | the address to be copied |
Returns: a new instance of CSIPAddress
NewLC ( CUri8 * )
Returns: a new instance of CSIPAddress
NewLC ( const TDesC8 &, CUri8 * )
Parameter | Description | aDisplayName | a SIP token or a SIP quoted-string |
Returns: a new instance of CSIPAddress
NewLC ( const CSIPAddress & )
Parameter | Description | aSIPAddress | the address to be copied |
Returns: a new instance of CSIPAddress
NewLC ( CURIContainer * )
SetDisplayNameL ( const TDesC8 & )
IMPORT_C void | SetDisplayNameL | ( | const TDesC8 & | aDisplayName | ) | |
Parameter | Description | aDisplayName | a SIP token or a SIP quoted-string |
SetUri8L ( CUri8 * )
IMPORT_C void | SetUri8L | ( | CUri8 * | aUri8 | ) | |
Sets the URI part of the address
- Pre-condition
- aUri!= 0
ToTextLC ( TBool )
IMPORT_C HBufC8 * | ToTextLC | ( | TBool | aUseAngleBrackets = EFalse | ) | const |
Creates a textual representation and pushes it to CleanupStack
Parameter | Description | aUseAngleBrackets | if ETrue, sets the anglebrackets |
Returns: a textual representation of the object, the ownership is transferred
Uri8 ( )
IMPORT_C const CUri8 & | Uri8 | ( | ) | const |
Gets the URI part of the address as const
Returns: a reference to the URI object
operator== ( const CSIPAddress & )
Compares this object to another instance of CSIPAddress
Parameter | Description | aSIPAddress | a CSIPAddress to compare to |
Returns: ETrue if the objects are equal otherwise EFalse