Location:
sipacceptlanguageheader.h
Link against: sipcodec.lib
class CSIPAcceptLanguageHeader : public CSIPParameterHeaderBase;
Class provides functions for setting and getting media types and parameters in SIP "Accept-Language" 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"
CSIPAcceptLanguageHeader
- Class provides functions for setting and getting media types and parameters in SIP "Accept-Language" header
Defined in CSIPAcceptLanguageHeader
:
CloneL()
, DecodeL()
, InternalizeValueL()
, LanguageRange()
, Name()
, NewL()
, NewLC()
, QParameter()
, SetLanguageRangeL()
, SetQParameterL()
, ~CSIPAcceptLanguageHeader()
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 CSIPAcceptLanguageHeader *NewL(const TDesC8 &aLanguageRange);
Creates a new instance of CSIPAcceptLanguageHeader
|
|
static IMPORT_C CSIPAcceptLanguageHeader *NewLC(const TDesC8 &aLanguageRange);
Creates a new instance of CSIPAcceptLanguageHeader and puts it onto the cleanup stack
|
|
IMPORT_C ~CSIPAcceptLanguageHeader();
Destructor, deletes the resources of CSIPAcceptLanguageHeader.
static IMPORT_C RPointerArray< CSIPAcceptLanguageHeader > DecodeL(const TDesC8 &aValue);
Constructs a CSIPAcceptLanguageHeader from textual representation of the header's value part.
|
|
IMPORT_C const TDesC8 &LanguageRange() const;
Gets the language-range from the "Accept-Language" header
|
IMPORT_C void SetLanguageRangeL(const TDesC8 &aLanguageRange);
Sets the language-range in the "Accept-Language" 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 CSIPAcceptLanguageHeader from a RReadStream
|
|
virtual IMPORT_C CSIPHeaderBase *CloneL() const;
From CSIPHeaderBase
CloneL
|