|
|
|
|
Location:
sipcontenttypeheader.h
Link against: sipcodec.lib
class CSIPContentTypeHeader : public CSIPParameterHeaderBase;
Class provides functions for setting and getting media types and parameters in SIP "Content-Type" header.
sipcodec.lib
CBase - Base class for all classes to be instantiated on the heapCSIPHeaderBase - Class provides a generic interface for all the SIP headersCSIPParameterHeaderBase - A base class for SIP headers that have structure "mandatory part"delimiter"parameters"CSIPContentTypeHeader - Class provides functions for setting and getting media types and parameters in SIP "Content-Type" headerDefined in CSIPContentTypeHeader:
CloneL(), DecodeL(), InternalizeValueL(), MediaSubtype(), MediaType(), Name(), NewL(), NewLC(), SetMediaSubtypeL(), SetMediaTypeL(), ~CSIPContentTypeHeader()
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 CSIPContentTypeHeader *NewL(const TDesC8 &aMediaType, const TDesC8 &aMediaSubtype);
Creates a new instance of CSIPContentTypeHeader
|
|
static IMPORT_C CSIPContentTypeHeader *NewLC(const TDesC8 &aMediaType, const TDesC8 &aMediaSubtype);
Creates a new instance of CSIPContentTypeHeader and puts it onto the cleanup stack
|
|
IMPORT_C ~CSIPContentTypeHeader();
Destructor, deletes the resources of CSIPContentTypeHeader.
static IMPORT_C CSIPContentTypeHeader *DecodeL(const TDesC8 &aValue);
Constructs a CSIPContentTypeHeader from textual representation of the header's value part.
|
|
IMPORT_C const TDesC8 &MediaType() const;
Gets the media type from the "Content-Type" header
|
IMPORT_C void SetMediaTypeL(const TDesC8 &aMediaType);
Sets the media type in the "Content-Type" header
|
IMPORT_C const TDesC8 &MediaSubtype() const;
Gets the media subtype from the "Content-Type" header
|
IMPORT_C void SetMediaSubtypeL(const TDesC8 &aMediaSubtype);
Sets the media subtype in the "Content-Type" header
|
static IMPORT_C CSIPHeaderBase *InternalizeValueL(RReadStream &aReadStream);
Constructs an instance of a CSIPContentTypeHeader from a RReadStream
|
|
virtual IMPORT_C CSIPHeaderBase *CloneL() const;
From CSIPHeaderBase CloneL
|