Symbian
Symbian OS Library

SYMBIAN OS V9.3

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



Location: sipextensionheader.h
Link against: sipcodec.lib

Class CSIPExtensionHeader

class CSIPExtensionHeader : public CSIPHeaderBase;

Description

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

Derivation

Members

Defined in CSIPExtensionHeader:
CloneL(), ExternalizeSupported(), InternalizeValueL(), Name(), NewL(), NewLC(), SetValueL(), ToTextValueL(), Value(), ~CSIPExtensionHeader()

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

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


Construction and destruction


NewL()

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

Description

Creates a new instance of CSIPExtensionHeader

Parameters

const TDesC8 &aName

the full or compact name of the header

const TDesC8 &aValue

the value of the header

Return value

CSIPExtensionHeader *

a new instance of CSIPExtensionHeader


NewLC()

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

Description

Creates a new instance of CSIPExtensionHeader and puts it to CleanupStack

Parameters

const TDesC8 &aName

the full or compact name of the header

const TDesC8 &aValue

the value of the header

Return value

CSIPExtensionHeader *

a new instance of CSIPExtensionHeader


~CSIPExtensionHeader()

IMPORT_C ~CSIPExtensionHeader();

Description

Destructor, deletes the resources of CSIPExtensionHeader.

[Top]


Member functions


SetValueL()

IMPORT_C void SetValueL(const TDesC8 &aValue);

Description

Sets the header value

Parameters

const TDesC8 &aValue

the header value to be set


Value()

IMPORT_C const TDesC8 &Value() const;

Description

Gets the header value

Return value

const TDesC8 &

the header value


InternalizeValueL()

static IMPORT_C CSIPExtensionHeader *InternalizeValueL(RReadStream &aReadStream);

Description

Constructs an instance of a CSIPExtensionHeader from a RReadStream

Parameters

RReadStream &aReadStream

a stream containing the value of the externalized header object (header name not included).

Return value

CSIPExtensionHeader *

an instance of a CSIPExtensionHeader


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


ToTextValueL()

virtual IMPORT_C HBufC8 *ToTextValueL() const;

Description

From CSIPHeaderBase ToTextValueL

Return value

HBufC8 *


ExternalizeSupported()

virtual IMPORT_C TBool ExternalizeSupported() const;

Description

From CSIPHeaderBase ExternalizeSupported

Return value

TBool