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 void SetSIPAddressL ( CSIPAddress *)
IMPORT_C TBool operator== (const CSIPFromToHeaderBase &)
Protected Member Functions
CSIPFromToHeaderBase ()
void ConstructL ()
void ConstructL ( CSIPAddress *)
void ConstructL ( CSIPAddress *, const TDesC8 &)
void ConstructL (const CSIPFromToHeaderBase &)
void DoInternalizeValueL ( RReadStream &)
Private Member Functions
void ExternalizeValueL ( RWriteStream &)
const CSIPParamContainerBase & Params ()
CSIPParamContainerBase & Params ()
void ParseMandatoryPartL (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()

void ConstructL ( ) [protected]

ConstructL(CSIPAddress *)

void ConstructL ( CSIPAddress * aSIPAddress ) [protected]

Parameters

CSIPAddress * aSIPAddress

ConstructL(CSIPAddress *, const TDesC8 &)

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

Parameters

CSIPAddress * aSIPAddress
const TDesC8 & aTag

ConstructL(const CSIPFromToHeaderBase &)

void ConstructL ( const CSIPFromToHeaderBase & aSIPFromToHeaderBase ) [protected]

Parameters

const CSIPFromToHeaderBase & aSIPFromToHeaderBase

DoInternalizeValueL(RReadStream &)

void DoInternalizeValueL ( RReadStream & aReadStream ) [protected]

Parameters

RReadStream & aReadStream

ExternalizeValueL(RWriteStream &)

void ExternalizeValueL ( 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 &)

void ParseMandatoryPartL ( 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 void SetSIPAddressL ( CSIPAddress * aSIPAddress )
Sets the name-address
Pre-condition
aSIPAddress != 0

Parameters

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

ToTextMandatoryPartLC()

HBufC8 * ToTextMandatoryPartLC ( ) const [private, virtual]

operator==(const CSIPFromToHeaderBase &)

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

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

Parameters

const CSIPFromToHeaderBase & aHeader a header to compare to

Member Data Documentation

CSIPFromToHeaderParams * iParams

CSIPFromToHeaderParams * iParams [private]

CSIPAddress * iSIPAddress

CSIPAddress * iSIPAddress [private]