Symbian
Symbian OS Library

SYMBIAN OS V9.3

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



Location: sipfromheader.h
Link against: sipcodec.lib

Class CSIPFromHeader

class CSIPFromHeader : public CSIPFromToHeaderBase;

Description

Class provides functions for setting and getting SIP "From" header.

sipcodec.lib

Derivation

Members

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

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

Pre-Condition

aSIPAddress != 0

Description

Creates a new instance of CSIPFromHeader

Parameters

CSIPAddress *aSIPAddress

a name-address, the ownership is transferred.

Return value

CSIPFromHeader *

a new instance of CSIPFromHeader


NewLC()

static IMPORT_C CSIPFromHeader *NewLC(CSIPAddress *aSIPAddress);

Pre-Condition

aSIPAddress != 0

Description

Creates a new instance of CSIPFromHeader and puts it to CleanupStack

Parameters

CSIPAddress *aSIPAddress

a name-address, the ownership is transferred,

Return value

CSIPFromHeader *

a new instance of CSIPFromHeader


NewL()

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

Description

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

Parameters

const CSIPFromToHeaderBase &aHeader

CSIPFromToHeaderBase to be copied

Return value

CSIPFromHeader *

a new instance of CSIPFromHeader


NewLC()

static IMPORT_C CSIPFromHeader *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 From-header using an existing To-header.

Parameters

const CSIPFromToHeaderBase &aHeader

CSIPFromToHeaderBase to be copied

Return value

CSIPFromHeader *

a new instance of CSIPFromHeader


~CSIPFromHeader()

IMPORT_C ~CSIPFromHeader();

Description

Destructor, deletes the resources of CSIPFromHeader.

[Top]


Member functions


DecodeL()

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

Description

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

Parameters

const TDesC8 &aValue

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

Return value

CSIPFromHeader *

a new instance of CSIPFromHeader


InternalizeValueL()

static IMPORT_C CSIPHeaderBase *InternalizeValueL(RReadStream &aReadStream);

Description

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


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