Location:
sipacceptheader.h
Link against: sipcodec.lib
class CSIPAcceptHeader : public CSIPParameterHeaderBase;
Class provides functions for setting and getting media types and parameters in SIP "Accept" header.
sipcodec.lib
CBase
- Base class for all classes to be instantiated on the heap
CSIPHeaderBase
- Class provides a generic interface for all the SIP headers
CSIPParameterHeaderBase
- A base class for SIP headers that have structure "mandatory part"delimiter"parameters"
CSIPAcceptHeader
- Class provides functions for setting and getting media types and parameters in SIP "Accept" header
Defined in CSIPAcceptHeader
:
CloneL()
, DecodeL()
, InternalizeValueL()
, IsEmpty()
, MediaSubtype()
, MediaType()
, Name()
, NewL()
, NewLC()
, QParameter()
, SetMediaSubtypeL()
, SetMediaTypeL()
, SetQParameterL()
, ~CSIPAcceptHeader()
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()
static IMPORT_C CSIPAcceptHeader *NewL(const TDesC8 &aMediaType, const TDesC8 &aMediaSubtype);
Creates a new instance of CSIPAcceptHeader
|
|
static IMPORT_C CSIPAcceptHeader *NewLC(const TDesC8 &aMediaType, const TDesC8 &aMediaSubtype);
Creates a new instance of CSIPAcceptHeader and puts it into the cleanup stack
|
|
static IMPORT_C RPointerArray< CSIPAcceptHeader > DecodeL(const TDesC8 &aValue);
Constructs a CSIPAcceptHeader from textual representation of the header's value part. An empty Accept-header can be created using this function by passing a KNullDesC8 as a parameter.
|
|
IMPORT_C TBool IsEmpty() const;
Check if the header is empty. If so, the other getters will not return a meaningful value.
|
IMPORT_C const TDesC8 &MediaType() const;
Gets the media type from the "Accept" header
|
IMPORT_C void SetMediaTypeL(const TDesC8 &aMediaType);
IsEmpty()
== EFalse
Sets the media type in the "Accept" header
|
IMPORT_C const TDesC8 &MediaSubtype() const;
Gets the media subtype from the "Accept" header
|
IMPORT_C void SetMediaSubtypeL(const TDesC8 &aMediaSubtype);
IsEmpty()
== EFalse
Sets the media subtype in the "Accept" header
|
IMPORT_C TReal QParameter() const;
Gets the value of "q"-parameter
|
IMPORT_C void SetQParameterL(TReal aQValue);
Sets the "q"-parameter value
|
static IMPORT_C CSIPHeaderBase *InternalizeValueL(RReadStream &aReadStream);
Constructs an instance of a CSIPAcceptHeader from a RReadStream
|
|
virtual IMPORT_C CSIPHeaderBase *CloneL() const;
From CSIPHeaderBase
CloneL
|