Symbian
Symbian OS Library

SYMBIAN OS V9.3

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



Location: sipcontentdispositionheader.h
Link against: sipcodec.lib

Class CSIPContentDispositionHeader

class CSIPContentDispositionHeader : public CSIPParameterHeaderBase;

Description

Class provides functions for setting and getting parameters in SIP "Content-Disposition" header.

sipcodec.lib

Derivation

Members

Defined in CSIPContentDispositionHeader:
CloneL(), DecodeL(), DispType(), InternalizeValueL(), Name(), NewL(), NewLC(), SetDispTypeL(), ~CSIPContentDispositionHeader()

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

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

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


Construction and destruction


NewL()

static IMPORT_C CSIPContentDispositionHeader *NewL(const TDesC8 &aDispType);

Description

Creates a new instance of CSIPContentDispositionHeader

Parameters

const TDesC8 &aDispType

a Disp-Type value

Return value

CSIPContentDispositionHeader *

a new instance of CSIPContentDispositionHeader


NewLC()

static IMPORT_C CSIPContentDispositionHeader *NewLC(const TDesC8 &aDispType);

Description

Creates a new instance of CSIPContentDispositionHeader and puts it to CleanupStack

Parameters

const TDesC8 &aDispType

a Disp-Type value

Return value

CSIPContentDispositionHeader *

a new instance of CSIPContentDispositionHeader


~CSIPContentDispositionHeader()

IMPORT_C ~CSIPContentDispositionHeader();

Description

Destructor. deletes the resources of CSIPContentDispositionHeader.

[Top]


Member functions


DecodeL()

static IMPORT_C CSIPContentDispositionHeader *DecodeL(const TDesC8 &aValue);

Description

Constructs a CSIPContentDispositionHeader from textual representation of the header's value part.

Parameters

const TDesC8 &aValue

a value part of a "Content-Disposition"-header

Return value

CSIPContentDispositionHeader *

a new instance of CSIPContentDispositionHeader


DispType()

IMPORT_C const TDesC8 &DispType() const;

Description

Gets the disp-type parameter from the "Content-Disposition" header

Return value

const TDesC8 &

the disp-type parameter


SetDispTypeL()

IMPORT_C void SetDispTypeL(const TDesC8 &aDispType);

Description

Sets the disp-type parameter in the "Content-Disposition" header;

Parameters

const TDesC8 &aDispType


InternalizeValueL()

static IMPORT_C CSIPHeaderBase *InternalizeValueL(RReadStream &aReadStream);

Description

Constructs an instance of a CSIPContentDispositionHeader from a RReadStream

Parameters

RReadStream &aReadStream

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

Return value

CSIPHeaderBase *

an instance of a CSIPContentDispositionHeader


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