CSIPAddress Class Reference
class CSIPAddress : public CBase
|
Class provides functions for setting and getting parameters in SIP name-addr structure
sipcodec.lib
Constructor & Destructor Documentation
CSIPAddress()
CSIPAddress
|
(
|
)
|
[private]
|
~CSIPAddress()
IMPORT_C
|
~CSIPAddress
|
(
|
)
|
|
Member Functions Documentation
CheckDisplayName(const TDesC8 &)
TBool
|
CheckDisplayName
|
(
|
const
TDesC8
&
|
aValue
|
)
|
[private]
|
ConstructL()
void
|
ConstructL
|
(
|
)
|
[private]
|
ConstructL(CUri8 *)
void
|
ConstructL
|
(
|
CUri8
*
|
aUri
|
)
|
[private]
|
ConstructL(const TDesC8 &, CUri8 *)
void
|
ConstructL
|
(
|
const
TDesC8
&
|
aDisplayName,
|
|
CUri8
*
|
aUri
|
|
)
|
[private]
|
ConstructL(const CSIPAddress &)
void
|
ConstructL
|
(
|
const
CSIPAddress
&
|
aSIPAddress
|
)
|
[private]
|
ConstructL(CURIContainer *)
ContainsSeparators(const TDesC8 &)
TBool
|
ContainsSeparators
|
(
|
const
TDesC8
&
|
aValue
|
)
|
const [private]
|
DecodeL(const TDesC8 &)
Parameters
const
TDesC8
& aValue
|
SIP name-addr as text
|
DisplayName()
IMPORT_C const
TDesC8
&
|
DisplayName
|
(
|
)
|
const
|
DoInternalizeL(RReadStream &)
void
|
DoInternalizeL
|
(
|
RReadStream
&
|
aReadStream
|
)
|
[private]
|
ExternalizeL(RWriteStream &)
Parameters
RWriteStream
& aWriteStream
|
a stream where the object is to be externalized
|
HasDisplayName()
TBool
|
HasDisplayName
|
(
|
)
|
const [private]
|
InternalizeL(RReadStream &)
Parameters
RReadStream
& aReadStream
|
a stream containing the externalized object
|
NewL(CUri8 *)
Creates a new instance of
CSIPAddress
-
Pre-condition
-
aUri != 0
NewL(const TDesC8 &, CUri8 *)
Creates a new instance of
CSIPAddress
-
Pre-condition
-
aUri != 0
Parameters
const
TDesC8
& aDisplayName
|
a SIP token or a SIP quoted-string
|
CUri8
* aUri8
|
|
NewL(const CSIPAddress &)
Parameters
const
CSIPAddress
& aSIPAddress
|
the address to be copied
|
NewLC(const TDesC8 &, CUri8 *)
Parameters
const
TDesC8
& aDisplayName
|
a SIP token or a SIP quoted-string
|
CUri8
* aUri8
|
|
NewLC(const CSIPAddress &)
Parameters
const
CSIPAddress
& aSIPAddress
|
the address to be copied
|
ParseURIInAngleBracketsL(const TDesC8 &)
void
|
ParseURIInAngleBracketsL
|
(
|
const
TDesC8
&
|
aValue
|
)
|
[private]
|
ParseURIL(const TDesC8 &)
void
|
ParseURIL
|
(
|
const
TDesC8
&
|
aValue
|
)
|
[private]
|
QuotedStringLength(const TDesC8 &)
TInt
|
QuotedStringLength
|
(
|
const
TDesC8
&
|
aValue
|
)
|
[private]
|
SetDisplayNameL(const TDesC8 &)
IMPORT_C void
|
SetDisplayNameL
|
(
|
const
TDesC8
&
|
aDisplayName
|
)
|
|
Parameters
const
TDesC8
& 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
Parameters
TBool
aUseAngleBrackets = EFalse
|
if ETrue, sets the anglebrackets
|
Uri8()
IMPORT_C const
CUri8
&
|
Uri8
|
(
|
)
|
const
|
Gets the URI part of the address as const
operator==(const CSIPAddress &)
Compares this object to another instance of
CSIPAddress
Parameters
const
CSIPAddress
& aSIPAddress
|
a CSIPAddress to compare to
|
Member Data Documentation
HBufC8 * iDisplayName
HBufC8
*
|
iDisplayName
|
[private]
|
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.