CSIPAcceptContactHeader Class Reference

#include <mw/sipacceptcontactheader.h>

Link against: sipcodec.lib

class CSIPAcceptContactHeader : public CSIPParameterHeaderBase

Inherits from

Public Member Functions
virtual ~CSIPAcceptContactHeader()
RPointerArray< CSIPHeaderBase >BaseDecodeL(const TDesC8 &)
virtual IMPORT_C CSIPHeaderBase *CloneL()
virtual RStringF CompactName()
IMPORT_C RPointerArray< CSIPAcceptContactHeader >DecodeL(const TDesC8 &)
virtual TBool HasCompactName()
IMPORT_C CSIPHeaderBase *InternalizeValueL(RReadStream &)
virtual TBool MoreThanOneAllowed()
virtual IMPORT_C RStringFName()
IMPORT_C CSIPAcceptContactHeader *NewL()
IMPORT_C CSIPAcceptContactHeader *NewLC()
virtual TPreferredPlace PreferredPlaceInMessage()
IMPORT_C TBooloperator==(const CSIPAcceptContactHeader &)
Inherited Attributes
CSIPHeaderBase::iLink
Inherited Enumerations
CSIPHeaderBase:TPreferredPlace
Inherited Functions
CBase::CBase()
CBase::Delete(CBase *)
CBase::Extension_(TUint,TAny *&,TAny *)
CBase::operator new(TUint)
CBase::operator new(TUint,TAny *)
CBase::operator new(TUint,TLeave)
CBase::operator new(TUint,TLeave,TUint)
CBase::operator new(TUint,TUint)
CBase::~CBase()
CSIPHeaderBase::CSIPHeaderBase()
CSIPHeaderBase::EncodeMultipleToOneLine()const
CSIPHeaderBase::ExternalizeL(RWriteStream &,TBool)const
CSIPHeaderBase::ExternalizeNameL(RWriteStream &)const
CSIPHeaderBase::ExternalizeSupported()const
CSIPHeaderBase::IsExtensionHeader()const
CSIPHeaderBase::PushLC(RPointerArray< CSIPHeaderBase > *)
CSIPHeaderBase::ResetAndDestroy(TAny *)
CSIPHeaderBase::ToTextL()const
CSIPHeaderBase::ToTextLC()const
CSIPHeaderBase::ToTextValueLC()const
CSIPHeaderBase::~CSIPHeaderBase()
CSIPParameterHeaderBase::CSIPParameterHeaderBase(const TChar &)
CSIPParameterHeaderBase::DeleteParam(RStringF)
CSIPParameterHeaderBase::HasParam(RStringF)const
CSIPParameterHeaderBase::Param(TInt,RStringF &)const
CSIPParameterHeaderBase::ParamCount()const
CSIPParameterHeaderBase::ParamInsertionAllowed()const
CSIPParameterHeaderBase::ParamValue(RStringF)const
CSIPParameterHeaderBase::ParseL(const TDesC8 &,TBool,TBool)
CSIPParameterHeaderBase::SetParamL(RStringF)
CSIPParameterHeaderBase::SetParamL(RStringF,RStringF)
CSIPParameterHeaderBase::ToTextValueL()const
CSIPParameterHeaderBase::~CSIPParameterHeaderBase()

Detailed Description

Class provides functions for setting and getting parameters in SIP "Accept-Contact" header.

Constructor & Destructor Documentation

~CSIPAcceptContactHeader ( )

IMPORT_C~CSIPAcceptContactHeader()[virtual]

Destructor, deletes the resources of CSIPAcceptContactHeader.

Member Function Documentation

BaseDecodeL ( const TDesC8 & )

RPointerArray< CSIPHeaderBase >BaseDecodeL(const TDesC8 &aValue)[static]

CloneL ( )

IMPORT_C CSIPHeaderBase *CloneL()const [virtual]

From CSIPHeaderBase CloneL

CompactName ( )

RStringF CompactName()const [virtual]

DecodeL ( const TDesC8 & )

IMPORT_C RPointerArray< CSIPAcceptContactHeader >DecodeL(const TDesC8 &aValue)[static]

Constructs a CSIPAcceptContactHeader from textual representation of the header's value part.

Parameters
aValuea value part of a "Accept-Contact"-header (e.g. "*;param=value")
Return Value
an array containing one to many instances of CSIPAcceptContactHeader

HasCompactName ( )

TBool HasCompactName()const [virtual]

InternalizeValueL ( RReadStream & )

IMPORT_C CSIPHeaderBase *InternalizeValueL(RReadStream &aReadStream)[static]

Constructs an instance of a CSIPAcceptContactHeader from a RReadStream

Parameters
aReadStreama stream containing the value of the externalized object (header name not included).
Return Value
an instance of a CSIPAcceptContactHeader

MoreThanOneAllowed ( )

TBool MoreThanOneAllowed()const [virtual]

Name ( )

IMPORT_C RStringFName()const [virtual]

Reimplemented from CSIPHeaderBase::Name()const

From CSIPHeaderBase Name

NewL ( )

IMPORT_C CSIPAcceptContactHeader *NewL()[static]

Creates a new instance of CSIPAcceptContactHeader

Return Value
a new instance of CSIPAcceptContactHeader

NewLC ( )

IMPORT_C CSIPAcceptContactHeader *NewLC()[static]

Creates a new instance of CSIPAcceptContactHeader On return the new instance has left to the CleanupStack.

Return Value
a new instance of CSIPAcceptContactHeader

PreferredPlaceInMessage ( )

TPreferredPlace PreferredPlaceInMessage()const [virtual]

operator== ( const CSIPAcceptContactHeader & )

IMPORT_C TBooloperator==(const CSIPAcceptContactHeader &aHeader)const

Compares this instance to another "Accept-Contact" header object. Two Accept-Contact-headers are equal, if both contain exactly the same parameters. The order of the parameters is not sufficient.

Parameters
aHeadera header to compare to
Return Value
ETrue, if the objects are equal otherwise EFalse