CSIPParameterHeaderBase Class Reference
class CSIPParameterHeaderBase : public CSIPHeaderBase
|
A base class for SIP headers that have structure "mandatory part"delimiter"parameters"
This is an abstract class and cannot be instantiated.
sipcodec.lib
Constructor & Destructor Documentation
CSIPParameterHeaderBase(const TChar &)
CSIPParameterHeaderBase
|
(
|
const
TChar
&
|
aSeparator
|
)
|
[protected]
|
CSIPParameterHeaderBase()
CSIPParameterHeaderBase
|
(
|
)
|
[private]
|
~CSIPParameterHeaderBase()
IMPORT_C
|
~CSIPParameterHeaderBase
|
(
|
)
|
[virtual]
|
Member Functions Documentation
DeleteParam(RStringF)
IMPORT_C void
|
DeleteParam
|
(
|
RStringF
|
aName
|
)
|
|
Parameters
RStringF
aName
|
the parameter name to delete
|
HasParam(RStringF)
Checks if a parameter is present
Parameters
RStringF
aName
|
the name of the parameter
|
Param(TInt, RStringF &)
Gets a header parameter name by index. This function can be used when looping through all the header parameters.
Parameters
TInt
aIndex
|
the index of the parameter
|
RStringF
& aName
|
copy of the parameter name that must be closed by the caller.
|
ParamCount()
IMPORT_C
TInt
|
ParamCount
|
(
|
)
|
const
|
Gets the count of header parameters
ParamInsertionAllowed()
TBool
|
ParamInsertionAllowed
|
(
|
)
|
const [protected, virtual]
|
ParamValue(RStringF)
Gets a parameter value
-
Pre-condition
-
HasParam(aName) == ETrue
Parameters
RStringF
aName
|
the name of the parameter
|
ParseL(const TDesC8 &, TBool, TBool)
void
|
ParseL
|
(
|
const
TDesC8
&
|
aValue,
|
|
TBool
|
aIgnoreParenthesis = ETrue,
|
|
TBool
|
aSkipSeparatorsBeforeAt = EFalse
|
|
)
|
[protected]
|
Parameters
const
TDesC8
& aValue
|
|
TBool
aIgnoreParenthesis = ETrue
|
|
TBool
aSkipSeparatorsBeforeAt = EFalse
|
|
ParseMandatoryPartL(const TDesC8 &)
void
|
ParseMandatoryPartL
|
(
|
const
TDesC8
&
|
aMandatoryPart
|
)
|
[protected, pure virtual]
|
SetParamL(RStringF, RStringF)
Sets a parameter with a value. Takes copies of the name and value, so if the RStringFs have been dynamically allocated, they can be closed if necessary after the function returns.
-
Pre-condition
-
HasParam(aName) == EFalse
Parameters
RStringF
aName
|
the name of the parameter
|
RStringF
aValue
|
the parameter value to set
|
SetParamL(RStringF)
IMPORT_C void
|
SetParamL
|
(
|
RStringF
|
aName
|
)
|
|
Sets a parameter without a value Takes copy of the name, so if the
RStringF
has been dynamically allocated, it can be closed if necessary after the function returns.
-
Pre-condition
-
HasParam(aName) == EFalse
Parameters
RStringF
aName
|
the parameter name to set
|
ToTextMandatoryPartLC()
HBufC8
*
|
ToTextMandatoryPartLC
|
(
|
)
|
const [protected, pure virtual]
|
ToTextValueL()
IMPORT_C
HBufC8
*
|
ToTextValueL
|
(
|
)
|
const [virtual]
|
Member Data Documentation
TChar
iSeparator
TChar
|
iSeparator
|
[private]
|
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.