#include <mw/sipacceptlanguageheader.h>
Link against: sipcodec.lib
class CSIPAcceptLanguageHeader : public CSIPParameterHeaderBase |
Public Member Functions | |
---|---|
~CSIPAcceptLanguageHeader() | |
RPointerArray< CSIPHeaderBase > | BaseDecodeL(const TDesC8 &) |
virtual IMPORT_C CSIPHeaderBase * | CloneL() |
IMPORT_C RPointerArray< CSIPAcceptLanguageHeader > | DecodeL(const TDesC8 &) |
IMPORT_C CSIPHeaderBase * | InternalizeValueL(RReadStream &) |
IMPORT_C const TDesC8 & | LanguageRange() |
virtual TBool | MoreThanOneAllowed() |
virtual IMPORT_C RStringF | Name() |
IMPORT_C CSIPAcceptLanguageHeader * | NewL(const TDesC8 &) |
IMPORT_C CSIPAcceptLanguageHeader * | NewLC(const TDesC8 &) |
virtual TPreferredPlace | PreferredPlaceInMessage() |
IMPORT_C TReal | QParameter() |
IMPORT_C void | SetLanguageRangeL(const TDesC8 &) |
IMPORT_C void | SetQParameterL(TReal) |
Inherited Attributes | |
---|---|
CSIPHeaderBase::iLink |
Inherited Enumerations | |
---|---|
CSIPHeaderBase:TPreferredPlace |
Class provides functions for setting and getting media types and parameters in SIP "Accept-Language" header.
IMPORT_C | ~CSIPAcceptLanguageHeader | ( | ) |
Destructor, deletes the resources of CSIPAcceptLanguageHeader.
RPointerArray< CSIPHeaderBase > | BaseDecodeL | ( | const TDesC8 & | aValue | ) | [static] |
IMPORT_C CSIPHeaderBase * | CloneL | ( | ) | const [virtual] |
Reimplemented from CSIPHeaderBase::CloneL()const
From CSIPHeaderBase CloneL
IMPORT_C RPointerArray< CSIPAcceptLanguageHeader > | DecodeL | ( | const TDesC8 & | aValue | ) | [static] |
Constructs a CSIPAcceptLanguageHeader from textual representation of the header's value part.
Parameters | |
---|---|
aValue | a value part of a "Accept-Language"-header |
IMPORT_C CSIPHeaderBase * | InternalizeValueL | ( | RReadStream & | aReadStream | ) | [static] |
Constructs an instance of a CSIPAcceptLanguageHeader from a RReadStream
Parameters | |
---|---|
aReadStream | a stream containing the value of the externalized header object (header name not included). |
IMPORT_C const TDesC8 & | LanguageRange | ( | ) | const |
Gets the language-range from the "Accept-Language" header
TBool | MoreThanOneAllowed | ( | ) | const [virtual] |
Reimplemented from CSIPHeaderBase::MoreThanOneAllowed()const
IMPORT_C RStringF | Name | ( | ) | const [virtual] |
Reimplemented from CSIPHeaderBase::Name()const
From CSIPHeaderBase Name
IMPORT_C CSIPAcceptLanguageHeader * | NewL | ( | const TDesC8 & | aLanguageRange | ) | [static] |
Creates a new instance of CSIPAcceptLanguageHeader
Parameters | |
---|---|
aLanguageRange | a language-range to set |
IMPORT_C CSIPAcceptLanguageHeader * | NewLC | ( | const TDesC8 & | aLanguageRange | ) | [static] |
Creates a new instance of CSIPAcceptLanguageHeader and puts it onto the cleanup stack
Parameters | |
---|---|
aLanguageRange | a language-range to set |
TPreferredPlace | PreferredPlaceInMessage | ( | ) | const [virtual] |
Reimplemented from CSIPHeaderBase::PreferredPlaceInMessage()const
IMPORT_C void | SetLanguageRangeL | ( | const TDesC8 & | aLanguageRange | ) |
Sets the language-range in the "Accept-Language" header
Parameters | |
---|---|
aLanguageRange | a language-range |
IMPORT_C void | SetQParameterL | ( | TReal | aQValue | ) |
Sets the "q"-parameter value
Parameters | |
---|---|
aQValue | a "q"-parameter value to set |