CSIPAcceptLanguageHeader Class Reference

#include <mw/sipacceptlanguageheader.h>

Link against: sipcodec.lib

class CSIPAcceptLanguageHeader : public CSIPParameterHeaderBase

Inherits from

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 RStringFName()
IMPORT_C CSIPAcceptLanguageHeader *NewL(const TDesC8 &)
IMPORT_C CSIPAcceptLanguageHeader *NewLC(const TDesC8 &)
virtual TPreferredPlace PreferredPlaceInMessage()
IMPORT_C TRealQParameter()
IMPORT_C voidSetLanguageRangeL(const TDesC8 &)
IMPORT_C voidSetQParameterL(TReal)
Inherited Attributes
CSIPHeaderBase::iLink
Inherited Enumerations
CSIPHeaderBase:TPreferredPlace
Inherited Functions
CBase::CBase()
CBase::Delete(CBase *)
CBase::Extension_(TUint,TAny *&,TAny *)
CBase::operator new(TUint)
CBase::operator new(TUint,TAny *)
CBase::operator new(TUint,TLeave)
CBase::operator new(TUint,TLeave,TUint)
CBase::operator new(TUint,TUint)
CBase::~CBase()
CSIPHeaderBase::CSIPHeaderBase()
CSIPHeaderBase::CompactName()const
CSIPHeaderBase::EncodeMultipleToOneLine()const
CSIPHeaderBase::ExternalizeL(RWriteStream &,TBool)const
CSIPHeaderBase::ExternalizeNameL(RWriteStream &)const
CSIPHeaderBase::ExternalizeSupported()const
CSIPHeaderBase::HasCompactName()const
CSIPHeaderBase::IsExtensionHeader()const
CSIPHeaderBase::PushLC(RPointerArray< CSIPHeaderBase > *)
CSIPHeaderBase::ResetAndDestroy(TAny *)
CSIPHeaderBase::ToTextL()const
CSIPHeaderBase::ToTextLC()const
CSIPHeaderBase::ToTextValueLC()const
CSIPHeaderBase::~CSIPHeaderBase()
CSIPParameterHeaderBase::CSIPParameterHeaderBase(const TChar &)
CSIPParameterHeaderBase::DeleteParam(RStringF)
CSIPParameterHeaderBase::HasParam(RStringF)const
CSIPParameterHeaderBase::Param(TInt,RStringF &)const
CSIPParameterHeaderBase::ParamCount()const
CSIPParameterHeaderBase::ParamInsertionAllowed()const
CSIPParameterHeaderBase::ParamValue(RStringF)const
CSIPParameterHeaderBase::ParseL(const TDesC8 &,TBool,TBool)
CSIPParameterHeaderBase::SetParamL(RStringF)
CSIPParameterHeaderBase::SetParamL(RStringF,RStringF)
CSIPParameterHeaderBase::ToTextValueL()const
CSIPParameterHeaderBase::~CSIPParameterHeaderBase()

Detailed Description

Class provides functions for setting and getting media types and parameters in SIP "Accept-Language" header.

Constructor & Destructor Documentation

~CSIPAcceptLanguageHeader ( )

IMPORT_C~CSIPAcceptLanguageHeader()

Destructor, deletes the resources of CSIPAcceptLanguageHeader.

Member Function Documentation

BaseDecodeL ( const TDesC8 & )

RPointerArray< CSIPHeaderBase >BaseDecodeL(const TDesC8 &aValue)[static]

CloneL ( )

IMPORT_C CSIPHeaderBase *CloneL()const [virtual]

From CSIPHeaderBase CloneL

DecodeL ( const TDesC8 & )

IMPORT_C RPointerArray< CSIPAcceptLanguageHeader >DecodeL(const TDesC8 &aValue)[static]

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

ParameterDescription
aValuea value part of a "Accept-Language"-header

Returns: an array containing one to many instances of CSIPAcceptLanguageHeader.

InternalizeValueL ( RReadStream & )

IMPORT_C CSIPHeaderBase *InternalizeValueL(RReadStream &aReadStream)[static]

Constructs an instance of a CSIPAcceptLanguageHeader from a RReadStream

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

Returns: an instance of a CSIPAcceptLanguageHeader

LanguageRange ( )

IMPORT_C const TDesC8 &LanguageRange()const

Gets the language-range from the "Accept-Language" header

Returns: a language-range

MoreThanOneAllowed ( )

TBool MoreThanOneAllowed()const [virtual]

Name ( )

IMPORT_C RStringFName()const [virtual]

Reimplemented from CSIPHeaderBase::Name()const

From CSIPHeaderBase Name

NewL ( const TDesC8 & )

IMPORT_C CSIPAcceptLanguageHeader *NewL(const TDesC8 &aLanguageRange)[static]

Creates a new instance of CSIPAcceptLanguageHeader

ParameterDescription
aLanguageRangea language-range to set

Returns: a new instance of CSIPAcceptLanguageHeader

NewLC ( const TDesC8 & )

IMPORT_C CSIPAcceptLanguageHeader *NewLC(const TDesC8 &aLanguageRange)[static]

Creates a new instance of CSIPAcceptLanguageHeader and puts it onto the cleanup stack

ParameterDescription
aLanguageRangea language-range to set

Returns: a new instance of CSIPAcceptLanguageHeader

PreferredPlaceInMessage ( )

TPreferredPlace PreferredPlaceInMessage()const [virtual]

QParameter ( )

IMPORT_C TRealQParameter()const

Gets the value of "q"-parameter

Returns: the "q"-parameter value

SetLanguageRangeL ( const TDesC8 & )

IMPORT_C voidSetLanguageRangeL(const TDesC8 &aLanguageRange)

Sets the language-range in the "Accept-Language" header

ParameterDescription
aLanguageRangea language-range

SetQParameterL ( TReal )

IMPORT_C voidSetQParameterL(TRealaQValue)

Sets the "q"-parameter value

ParameterDescription
aQValuea "q"-parameter value to set