CSIPFromToHeaderBase Class Reference

class CSIPFromToHeaderBase : public CSIPParameterHeaderBase

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

Inherits from

Public Member Functions
~CSIPFromToHeaderBase()
TBool HasCompactName()
TPreferredPlace PreferredPlaceInMessage()
IMPORT_C const CSIPAddress &SIPAddress()
IMPORT_C CSIPAddress &SIPAddress()
IMPORT_C voidSetSIPAddressL(CSIPAddress *)
IMPORT_C TBooloperator==(const CSIPFromToHeaderBase &)
Protected Member Functions
CSIPFromToHeaderBase()
voidConstructL()
voidConstructL(CSIPAddress *)
voidConstructL(CSIPAddress *, const TDesC8 &)
voidConstructL(const CSIPFromToHeaderBase &)
voidDoInternalizeValueL(RReadStream &)
Private Member Functions
voidExternalizeValueL(RWriteStream &)
const CSIPParamContainerBase &Params()
CSIPParamContainerBase &Params()
voidParseMandatoryPartL(const TDesC8 &)
HBufC8 *ToTextMandatoryPartLC()
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::CloneL()const
CSIPHeaderBase::CompactName()const
CSIPHeaderBase::EncodeMultipleToOneLine()const
CSIPHeaderBase::ExternalizeL(RWriteStream &,TBool)const
CSIPHeaderBase::ExternalizeNameL(RWriteStream &)const
CSIPHeaderBase::ExternalizeSupported()const
CSIPHeaderBase::IsExtensionHeader()const
CSIPHeaderBase::MoreThanOneAllowed()const
CSIPHeaderBase::Name()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()
Inherited Enumerations
CSIPHeaderBase:TPreferredPlace
Private Attributes
CSIPFromToHeaderParams *iParams
CSIPAddress *iSIPAddress
Inherited Attributes
CSIPHeaderBase::iLink

Constructor & Destructor Documentation

CSIPFromToHeaderBase()

CSIPFromToHeaderBase()[protected]

~CSIPFromToHeaderBase()

IMPORT_C~CSIPFromToHeaderBase()[virtual]

Destructor, deletes the resources of CSIPFromToHeaderBase.

Member Functions Documentation

ConstructL()

voidConstructL()[protected]

ConstructL(CSIPAddress *)

voidConstructL(CSIPAddress *aSIPAddress)[protected]

Parameters

CSIPAddress * aSIPAddress

ConstructL(CSIPAddress *, const TDesC8 &)

voidConstructL(CSIPAddress *aSIPAddress,
const TDesC8 &aTag
)[protected]

Parameters

CSIPAddress * aSIPAddress
const TDesC8 & aTag

ConstructL(const CSIPFromToHeaderBase &)

voidConstructL(const CSIPFromToHeaderBase &aSIPFromToHeaderBase)[protected]

Parameters

const CSIPFromToHeaderBase & aSIPFromToHeaderBase

DoInternalizeValueL(RReadStream &)

voidDoInternalizeValueL(RReadStream &aReadStream)[protected]

Parameters

RReadStream & aReadStream

ExternalizeValueL(RWriteStream &)

voidExternalizeValueL(RWriteStream &aWriteStream)const [private, virtual]

Parameters

RWriteStream & aWriteStream

HasCompactName()

TBool HasCompactName()const [virtual]

Params()

const CSIPParamContainerBase &Params()const [private, virtual]

Params()

CSIPParamContainerBase &Params()[private, virtual]

ParseMandatoryPartL(const TDesC8 &)

voidParseMandatoryPartL(const TDesC8 &aMandatoryPart)[private, virtual]

Parameters

const TDesC8 & aMandatoryPart

PreferredPlaceInMessage()

TPreferredPlace PreferredPlaceInMessage()const [virtual]

SIPAddress()

IMPORT_C const CSIPAddress &SIPAddress()const

Gets the name-address as const

SIPAddress()

IMPORT_C CSIPAddress &SIPAddress()

Gets the name-address

SetSIPAddressL(CSIPAddress *)

IMPORT_C voidSetSIPAddressL(CSIPAddress *aSIPAddress)
Sets the name-address
Pre-condition
aSIPAddress != 0

Parameters

CSIPAddress * aSIPAddressa name-address to set, the ownership is transferred

ToTextMandatoryPartLC()

HBufC8 *ToTextMandatoryPartLC()const [private, virtual]

operator==(const CSIPFromToHeaderBase &)

IMPORT_C TBooloperator==(const CSIPFromToHeaderBase &aHeader)const

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

Parameters

const CSIPFromToHeaderBase & aHeadera header to compare to

Member Data Documentation

CSIPFromToHeaderParams * iParams

CSIPFromToHeaderParams *iParams[private]

CSIPAddress * iSIPAddress

CSIPAddress *iSIPAddress[private]