Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



Location: sipacceptcontactheader.h
Link against: sipcodec.lib

Class CSIPAcceptContactHeader

class CSIPAcceptContactHeader : public CSIPParameterHeaderBase;

Description

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

sipcodec.lib

Derivation

Members

Defined in CSIPAcceptContactHeader:
CloneL(), DecodeL(), InternalizeValueL(), Name(), NewL(), NewLC(), operator==(), ~CSIPAcceptContactHeader()

Inherited from CBase:
Delete(), Extension_(), operator new()

Inherited from CSIPHeaderBase:
ExternalizeL(), ExternalizeSupported(), PushLC(), ToTextL(), ToTextLC(), ToTextValueLC()

Inherited from CSIPParameterHeaderBase:
DeleteParam(), HasParam(), Param(), ParamCount(), ParamValue(), SetParamL(), ToTextValueL()


Construction and destruction


NewL()

static IMPORT_C CSIPAcceptContactHeader *NewL();

Description

Creates a new instance of CSIPAcceptContactHeader

Return value

CSIPAcceptContactHeader *

a new instance of CSIPAcceptContactHeader


NewLC()

static IMPORT_C CSIPAcceptContactHeader *NewLC();

Description

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

Return value

CSIPAcceptContactHeader *

a new instance of CSIPAcceptContactHeader


~CSIPAcceptContactHeader()

virtual IMPORT_C ~CSIPAcceptContactHeader();

Description

Destructor, deletes the resources of CSIPAcceptContactHeader.

[Top]


Member functions


DecodeL()

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

Description

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

Parameters

const TDesC8 &aValue

a value part of a "Accept-Contact"-header (e.g. "*;param=value")

Return value

RPointerArray< CSIPAcceptContactHeader >

an array containing one to many instances of CSIPAcceptContactHeader


operator==()

IMPORT_C TBool operator==(const CSIPAcceptContactHeader &aHeader) const;

Description

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

const CSIPAcceptContactHeader &aHeader

a header to compare to

Return value

TBool

ETrue, if the objects are equal otherwise EFalse


InternalizeValueL()

static IMPORT_C CSIPHeaderBase *InternalizeValueL(RReadStream &aReadStream);

Description

Constructs an instance of a CSIPAcceptContactHeader from a RReadStream

Parameters

RReadStream &aReadStream

a stream containing the value of the externalized object (header name not included).

Return value

CSIPHeaderBase *

an instance of a CSIPAcceptContactHeader


CloneL()

virtual IMPORT_C CSIPHeaderBase *CloneL() const;

Description

From CSIPHeaderBase CloneL

Return value

CSIPHeaderBase *


Name()

virtual IMPORT_C RStringF Name() const;

Description

From CSIPHeaderBase Name

Return value

RStringF