#include <mw/sipaddress.h>
Link against: sipcodec.lib
class CSIPAddress : public CBase |
Public Member Functions | |
---|---|
~CSIPAddress() | |
IMPORT_C CSIPAddress * | DecodeL(const TDesC8 &) |
IMPORT_C const TDesC8 & | DisplayName() |
IMPORT_C void | ExternalizeL(RWriteStream &) |
IMPORT_C CSIPAddress * | InternalizeL(RReadStream &) |
IMPORT_C CSIPAddress * | NewL(CUri8 *) |
IMPORT_C CSIPAddress * | NewL(const TDesC8 &, CUri8 *) |
IMPORT_C CSIPAddress * | NewL(const CSIPAddress &) |
IMPORT_C CSIPAddress * | NewLC(CUri8 *) |
IMPORT_C CSIPAddress * | NewLC(const TDesC8 &, CUri8 *) |
IMPORT_C CSIPAddress * | NewLC(const CSIPAddress &) |
CSIPAddress * | NewLC(CURIContainer *) |
IMPORT_C void | SetDisplayNameL(const TDesC8 &) |
IMPORT_C void | SetUri8L(CUri8 *) |
IMPORT_C HBufC8 * | ToTextLC(TBool) |
IMPORT_C CURIContainer & | URI() |
IMPORT_C const CURIContainer & | URI() |
IMPORT_C const CUri8 & | Uri8() |
IMPORT_C TBool | operator==(const CSIPAddress &) |
Class provides functions for setting and getting parameters in SIP name-addr structure
IMPORT_C CSIPAddress * | DecodeL | ( | const TDesC8 & | aValue | ) | [static] |
Constructs a CSIPAddress from textual representation
Parameters | |
---|---|
aValue | SIP name-addr as text |
IMPORT_C const TDesC8 & | DisplayName | ( | ) | const |
Gets the display name
IMPORT_C void | ExternalizeL | ( | RWriteStream & | aWriteStream | ) |
Writes the object to a RWriteStream
Parameters | |
---|---|
aWriteStream | a stream where the object is to be externalized |
IMPORT_C CSIPAddress * | InternalizeL | ( | RReadStream & | aReadStream | ) | [static] |
Constructs an instance of a CSIPAddress from a RReadStream
Parameters | |
---|---|
aReadStream | a stream containing the externalized object |
IMPORT_C CSIPAddress * | NewL | ( | CUri8 * | aUri8 | ) | [static] |
IMPORT_C CSIPAddress * | NewL | ( | const TDesC8 & | aDisplayName, |
CUri8 * | aUri8 | |||
) | [static] |
Parameters | |
---|---|
aDisplayName | a SIP token or a SIP quoted-string |
IMPORT_C CSIPAddress * | NewL | ( | const CSIPAddress & | aSIPAddress | ) | [static] |
Creates a deep-copy of a CSIPAddress
Parameters | |
---|---|
aSIPAddress | the address to be copied |
IMPORT_C CSIPAddress * | NewLC | ( | const TDesC8 & | aDisplayName, |
CUri8 * | aUri8 | |||
) | [static] |
Parameters | |
---|---|
aDisplayName | a SIP token or a SIP quoted-string |
IMPORT_C CSIPAddress * | NewLC | ( | const CSIPAddress & | aSIPAddress | ) | [static] |
Creates a deep-copy of a CSIPAddress and puts it to CleanupStack
Parameters | |
---|---|
aSIPAddress | the address to be copied |
CSIPAddress * | NewLC | ( | CURIContainer * | aURI | ) | [static] |
IMPORT_C void | SetDisplayNameL | ( | const TDesC8 & | aDisplayName | ) |
Sets the display name
Parameters | |
---|---|
aDisplayName | a SIP token or a SIP quoted-string |
Creates a textual representation and pushes it to CleanupStack
Parameters | |
---|---|
aUseAngleBrackets | if ETrue, sets the anglebrackets |
IMPORT_C CURIContainer & | URI | ( | ) |
IMPORT_C const CURIContainer & | URI | ( | ) | const |
IMPORT_C const CUri8 & | Uri8 | ( | ) | const |
Gets the URI part of the address as const
IMPORT_C TBool | operator== | ( | const CSIPAddress & | aSIPAddress | ) | const |
Compares this object to another instance of CSIPAddress
Parameters | |
---|---|
aSIPAddress | a CSIPAddress to compare to |