Symbian
Symbian OS Library

SYMBIAN OS V9.3

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



Location: sipfromtoheaderbase.h

Class CSIPFromToHeaderBase

class CSIPFromToHeaderBase : public CSIPParameterHeaderBase;

Description

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

This is an abstract class and cannot be instantiated.

sipcodec.lib

Derivation

Members

Defined in CSIPFromToHeaderBase:
SIPAddress(), SIPAddress(), SetSIPAddressL(), operator==(), ~CSIPFromToHeaderBase()

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

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

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


Construction and destruction


~CSIPFromToHeaderBase()

virtual IMPORT_C ~CSIPFromToHeaderBase();

Description

Destructor, deletes the resources of CSIPFromToHeaderBase.

[Top]


Member functions


operator==()

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

Description

Compares this instance to another "From" or "To" header object

Parameters

const CSIPFromToHeaderBase &aHeader

a header to compare to

Return value

TBool

ETrue, if the objects are equal otherwise EFalse


SetSIPAddressL()

IMPORT_C void SetSIPAddressL(CSIPAddress *aSIPAddress);

Pre-Condition

aSIPAddress != 0

Description

Sets the name-address

Parameters

CSIPAddress *aSIPAddress

a name-address to set, the ownership is transferred


SIPAddress()

IMPORT_C const CSIPAddress &SIPAddress() const;

Description

Gets the name-address as const

Return value

const CSIPAddress &

name-address object


SIPAddress()

IMPORT_C CSIPAddress &SIPAddress();

Description

Gets the name-address

Return value

CSIPAddress &

name-address object