Symbian
Symbian OS Library

SYMBIAN OS V9.3

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



Location: siptoheader.h
Link against: sipcodec.lib

Class CSIPToHeader

class CSIPToHeader : public CSIPFromToHeaderBase;

Description

Class provides functions for setting and getting SIP "To" header fields.

sipcodec.lib

Derivation

Members

Defined in CSIPToHeader:
CloneL(), DecodeL(), InternalizeValueL(), Name(), NewL(), NewL(), NewLC(), NewLC(), ~CSIPToHeader()

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

Inherited from CSIPFromToHeaderBase:
SIPAddress(), SetSIPAddressL(), operator==()

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 CSIPToHeader *NewL(CSIPAddress *aSIPAddress);

Pre-Condition

aSIPAddress != 0

Description

Creates a new instance of CSIPToHeader

Parameters

CSIPAddress *aSIPAddress

a name-address, the ownership is transferred,

Return value

CSIPToHeader *

a new instance of CSIPToHeader


NewLC()

static IMPORT_C CSIPToHeader *NewLC(CSIPAddress *aSIPAddress);

Pre-Condition

aSIPAddress != 0

Description

Creates a new instance of CSIPToHeader and puts it to CleanupStack

Parameters

CSIPAddress *aSIPAddress

a name-address, the ownership is transferred,

Return value

CSIPToHeader *

a new instance of CSIPToHeader


NewL()

static IMPORT_C CSIPToHeader *NewL(const CSIPFromToHeaderBase &aHeader);

Description

Creates a deep-copy of a CSIPFromToHeaderBase Note that this function can be used for creating a To-header using an existing From-header.

Parameters

const CSIPFromToHeaderBase &aHeader

CSIPFromToHeaderBase to be copied

Return value

CSIPToHeader *

a new instance of CSIPToHeader


NewLC()

static IMPORT_C CSIPToHeader *NewLC(const CSIPFromToHeaderBase &aHeader);

Description

Creates a deep-copy of a CSIPFromToHeaderBase and puts it to CleanupStack Note that this function can be used for creating a To-header using an existing From-header.

Parameters

const CSIPFromToHeaderBase &aHeader

CSIPFromToHeaderBaseto to be copied

Return value

CSIPToHeader *

a new instance of CSIPToHeader


~CSIPToHeader()

IMPORT_C ~CSIPToHeader();

Description

Destructor, deletes the resources of CSIPToHeader.

[Top]


Member functions


DecodeL()

static IMPORT_C CSIPToHeader *DecodeL(const TDesC8 &aValue);

Description

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

Parameters

const TDesC8 &aValue

a value part of a "To"-header (e.g. "User <user@host>")

Return value

CSIPToHeader *

a new instance of CSIPToHeader


InternalizeValueL()

static IMPORT_C CSIPHeaderBase *InternalizeValueL(RReadStream &aReadStream);

Description

Constructs an instance of a CSIPToHeader 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 CSIPToHeader


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