CSIPExtensionHeader Class Reference

class CSIPExtensionHeader : public CSIPHeaderBase

The class stores unknown and extension headers that are either not supported by the current SIP codec implementation or not specified in current SIP RFC or both.

sipcodec.lib

Inherits from

Public Member Functions
~CSIPExtensionHeader()
IMPORT_C CSIPHeaderBase *CloneL()
RStringF CompactName()
TBool EncodeMultipleToOneLine()
IMPORT_C TBoolExternalizeSupported()
TBool HasCompactName()
IMPORT_C CSIPExtensionHeader *InternalizeValueL(RReadStream &)
TBool IsExtensionHeader()
TBool MoreThanOneAllowed()
IMPORT_C RStringFName()
IMPORT_C CSIPExtensionHeader *NewL(const TDesC8 &, const TDesC8 &)
IMPORT_C CSIPExtensionHeader *NewLC(const TDesC8 &, const TDesC8 &)
TPreferredPlace PreferredPlaceInMessage()
voidSetNameL(const TDesC8 &)
IMPORT_C voidSetValueL(const TDesC8 &)
IMPORT_C HBufC8 *ToTextValueL()
IMPORT_C const TDesC8 &Value()
Private Member Functions
CSIPExtensionHeader()
TBool CheckValue(const TDesC8 &)
voidConstructL(const TDesC8 &, const TDesC8 &)
voidConstructL(const CSIPExtensionHeader &)
voidDoInternalizeValueL(RReadStream &)
voidExternalizeValueL(RWriteStream &)
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::ExternalizeL(RWriteStream &,TBool)const
CSIPHeaderBase::ExternalizeNameL(RWriteStream &)const
CSIPHeaderBase::PushLC(RPointerArray< CSIPHeaderBase > *)
CSIPHeaderBase::ResetAndDestroy(TAny *)
CSIPHeaderBase::ToTextL()const
CSIPHeaderBase::ToTextLC()const
CSIPHeaderBase::ToTextValueLC()const
CSIPHeaderBase::~CSIPHeaderBase()
Inherited Enumerations
CSIPHeaderBase:TPreferredPlace
Private Attributes
RStringF iName
HBufC8 *iValue
Inherited Attributes
CSIPHeaderBase::iLink

Constructor & Destructor Documentation

CSIPExtensionHeader()

CSIPExtensionHeader()[private]

~CSIPExtensionHeader()

IMPORT_C~CSIPExtensionHeader()

Destructor, deletes the resources of CSIPExtensionHeader.

Member Functions Documentation

CheckValue(const TDesC8 &)

TBool CheckValue(const TDesC8 &aValue)[private]

Parameters

const TDesC8 & aValue

CloneL()

IMPORT_C CSIPHeaderBase *CloneL()const [virtual]

From CSIPHeaderBase CloneL

CompactName()

RStringF CompactName()const [virtual]

ConstructL(const TDesC8 &, const TDesC8 &)

voidConstructL(const TDesC8 &aName,
const TDesC8 &aValue
)[private]

Parameters

const TDesC8 & aName
const TDesC8 & aValue

ConstructL(const CSIPExtensionHeader &)

voidConstructL(const CSIPExtensionHeader &aExtensionHeader)[private]

Parameters

const CSIPExtensionHeader & aExtensionHeader

DoInternalizeValueL(RReadStream &)

voidDoInternalizeValueL(RReadStream &aReadStream)[private]

Parameters

RReadStream & aReadStream

EncodeMultipleToOneLine()

TBool EncodeMultipleToOneLine()const [virtual]

ExternalizeSupported()

IMPORT_C TBoolExternalizeSupported()const [virtual]

From CSIPHeaderBase ExternalizeSupported

ExternalizeValueL(RWriteStream &)

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

Parameters

RWriteStream & aWriteStream

HasCompactName()

TBool HasCompactName()const [virtual]

InternalizeValueL(RReadStream &)

IMPORT_C CSIPExtensionHeader *InternalizeValueL(RReadStream &aReadStream)[static]

Constructs an instance of a CSIPExtensionHeader from a RReadStream

Parameters

RReadStream & aReadStreama stream containing the value of the externalized header object (header name not included).

IsExtensionHeader()

TBool IsExtensionHeader()const [virtual]

MoreThanOneAllowed()

TBool MoreThanOneAllowed()const [virtual]

Name()

IMPORT_C RStringFName()const [virtual]

From CSIPHeaderBase Name

NewL(const TDesC8 &, const TDesC8 &)

IMPORT_C CSIPExtensionHeader *NewL(const TDesC8 &aName,
const TDesC8 &aValue
)[static]

Creates a new instance of CSIPExtensionHeader

Parameters

const TDesC8 & aNamethe full or compact name of the header
const TDesC8 & aValuethe value of the header

NewLC(const TDesC8 &, const TDesC8 &)

IMPORT_C CSIPExtensionHeader *NewLC(const TDesC8 &aName,
const TDesC8 &aValue
)[static]

Creates a new instance of CSIPExtensionHeader and puts it to CleanupStack

Parameters

const TDesC8 & aNamethe full or compact name of the header
const TDesC8 & aValuethe value of the header

PreferredPlaceInMessage()

TPreferredPlace PreferredPlaceInMessage()const [virtual]

SetNameL(const TDesC8 &)

voidSetNameL(const TDesC8 &aName)

Parameters

const TDesC8 & aName

SetValueL(const TDesC8 &)

IMPORT_C voidSetValueL(const TDesC8 &aValue)

Sets the header value

Parameters

const TDesC8 & aValuethe header value to be set

ToTextValueL()

IMPORT_C HBufC8 *ToTextValueL()const [virtual]

From CSIPHeaderBase ToTextValueL

Value()

IMPORT_C const TDesC8 &Value()const

Gets the header value

Member Data Documentation

RStringF iName

RStringF iName[private]

HBufC8 * iValue

HBufC8 *iValue[private]