#include <mw/sipacceptencodingheader.h>
Link against: sipcodec.lib
class CSIPAcceptEncodingHeader : public CSIPParameterHeaderBase |
Public Member Functions | |
---|---|
~CSIPAcceptEncodingHeader() | |
RPointerArray< CSIPHeaderBase > | BaseDecodeL(const TDesC8 &) |
virtual IMPORT_C CSIPHeaderBase * | CloneL() |
IMPORT_C const TDesC8 & | Codings() |
IMPORT_C RPointerArray< CSIPAcceptEncodingHeader > | DecodeL(const TDesC8 &) |
IMPORT_C CSIPHeaderBase * | InternalizeValueL(RReadStream &) |
virtual TBool | MoreThanOneAllowed() |
virtual IMPORT_C RStringF | Name() |
IMPORT_C CSIPAcceptEncodingHeader * | NewL(const TDesC8 &) |
IMPORT_C CSIPAcceptEncodingHeader * | NewLC(const TDesC8 &) |
virtual TPreferredPlace | PreferredPlaceInMessage() |
IMPORT_C TReal | QParameter() |
IMPORT_C void | SetCodingsL(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-Encoding" header.
IMPORT_C | ~CSIPAcceptEncodingHeader | ( | ) |
Destructor, deletes the resources of CSIPAcceptEncodingHeader.
RPointerArray< CSIPHeaderBase > | BaseDecodeL | ( | const TDesC8 & | aValue | ) | [static] |
IMPORT_C CSIPHeaderBase * | CloneL | ( | ) | const [virtual] |
Reimplemented from CSIPHeaderBase::CloneL()const
From CSIPHeaderBase CloneL
IMPORT_C const TDesC8 & | Codings | ( | ) | const |
Gets the codings from the "Accept-Encoding" header
IMPORT_C RPointerArray< CSIPAcceptEncodingHeader > | DecodeL | ( | const TDesC8 & | aValue | ) | [static] |
Constructs a CSIPAcceptEncodingHeader from textual representation of the header's value part.
Parameters | |
---|---|
aValue | a value part of a "Accept-Encoding"-header |
IMPORT_C CSIPHeaderBase * | InternalizeValueL | ( | RReadStream & | aReadStream | ) | [static] |
Constructs an instance of a CSIPAcceptEncodingHeader from a RReadStream
Parameters | |
---|---|
aReadStream | a stream containing the value of the externalized header object (header name not included). |
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 CSIPAcceptEncodingHeader * | NewL | ( | const TDesC8 & | aCodings | ) | [static] |
Creates a new instance of CSIPAcceptEncodingHeader
Parameters | |
---|---|
aCodings | a codings to set. |
IMPORT_C CSIPAcceptEncodingHeader * | NewLC | ( | const TDesC8 & | aCodings | ) | [static] |
Creates a new instance of CSIPAcceptEncodingHeader and puts it onto the cleanup stack
Parameters | |
---|---|
aCodings | a codings to set. |
TPreferredPlace | PreferredPlaceInMessage | ( | ) | const [virtual] |
Reimplemented from CSIPHeaderBase::PreferredPlaceInMessage()const
IMPORT_C void | SetCodingsL | ( | const TDesC8 & | aCodings | ) |
Sets the codings in the "Accept-Encoding" header
Parameters | |
---|---|
aCodings | the codings |
IMPORT_C void | SetQParameterL | ( | TReal | aQValue | ) |
Sets the "q"-parameter value
Parameters | |
---|---|
aQValue | a "q"-parameter value to set |