CSIPContentTypeHeader Class Reference
class CSIPContentTypeHeader : public CSIPParameterHeaderBase
|
Class provides functions for setting and getting media types and parameters in SIP "Content-Type" header.
sipcodec.lib
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::EncodeMultipleToOneLine()const
|
|
CSIPHeaderBase::ExternalizeL(RWriteStream &,TBool)const
|
|
CSIPHeaderBase::ExternalizeNameL(RWriteStream &)const
|
|
CSIPHeaderBase::ExternalizeSupported()const
|
|
CSIPHeaderBase::IsExtensionHeader()const
|
|
CSIPHeaderBase::MoreThanOneAllowed()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()
|
Constructor & Destructor Documentation
CSIPContentTypeHeader()
CSIPContentTypeHeader
|
(
|
)
|
[private]
|
~CSIPContentTypeHeader()
IMPORT_C
|
~CSIPContentTypeHeader
|
(
|
)
|
|
Member Functions Documentation
BaseDecodeL(const TDesC8 &)
CompactName()
RStringF
|
CompactName
|
(
|
)
|
const [virtual]
|
ConstructL()
void
|
ConstructL
|
(
|
)
|
[private]
|
ConstructL(const TDesC8 &, const TDesC8 &)
void
|
ConstructL
|
(
|
const
TDesC8
&
|
aMediaType,
|
|
const
TDesC8
&
|
aMediaSubtype
|
|
)
|
[private]
|
ConstructL(const CSIPContentTypeHeader &)
DecodeL(const TDesC8 &)
Parameters
const
TDesC8
& aValue
|
a value part of a "Content-Type"-header
|
DoInternalizeValueL(RReadStream &)
void
|
DoInternalizeValueL
|
(
|
RReadStream
&
|
aReadStream
|
)
|
[private]
|
ExternalizeValueL(RWriteStream &)
void
|
ExternalizeValueL
|
(
|
RWriteStream
&
|
aWriteStream
|
)
|
const [private, virtual]
|
HasCompactName()
TBool
|
HasCompactName
|
(
|
)
|
const [virtual]
|
InternalizeValueL(RReadStream &)
Parameters
RReadStream
& aReadStream
|
a stream containing the value of the externalized header object (header name not included).
|
MediaSubtype()
IMPORT_C const
TDesC8
&
|
MediaSubtype
|
(
|
)
|
const
|
Gets the media subtype from the "Content-Type" header
MediaType()
IMPORT_C const
TDesC8
&
|
MediaType
|
(
|
)
|
const
|
Gets the media type from the "Content-Type" header
Name()
IMPORT_C
RStringF
|
Name
|
(
|
)
|
const [virtual]
|
NewL(const TDesC8 &, const TDesC8 &)
Parameters
const
TDesC8
& aMediaType
|
a media type to set. For example "application"
|
const
TDesC8
& aMediaSubtype
|
a media subtype to set. For example "sdp"
|
NewLC(const TDesC8 &, const TDesC8 &)
Parameters
const
TDesC8
& aMediaType
|
a media type to set. For example "application"
|
const
TDesC8
& aMediaSubtype
|
a media subtype to set. For example "sdp"
|
ParseMandatoryPartL(const TDesC8 &)
void
|
ParseMandatoryPartL
|
(
|
const
TDesC8
&
|
aMandatoryPart
|
)
|
[private, virtual]
|
PreferredPlaceInMessage()
SetMediaSubtypeL(const TDesC8 &)
IMPORT_C void
|
SetMediaSubtypeL
|
(
|
const
TDesC8
&
|
aMediaSubtype
|
)
|
|
Sets the media subtype in the "Content-Type" header
Parameters
const
TDesC8
& aMediaSubtype
|
a media subtype
|
SetMediaTypeL(const TDesC8 &)
IMPORT_C void
|
SetMediaTypeL
|
(
|
const
TDesC8
&
|
aMediaType
|
)
|
|
Sets the media type in the "Content-Type" header
Parameters
const
TDesC8
& aMediaType
|
a media type
|
ToTextMandatoryPartLC()
HBufC8
*
|
ToTextMandatoryPartLC
|
(
|
)
|
const [private, virtual]
|
Member Data Documentation
HBufC8 * iMediaSubtype
HBufC8
*
|
iMediaSubtype
|
[private]
|
CSIPContentTypeHeaderParams * iParams
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.