|
|
|
|
Location:
sipparameterheaderbase.h
Link against: sipcodec.lib
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
CBase - Base class for all classes to be instantiated on the heap
CSIPHeaderBase - Class provides a generic interface for all the SIP headers
CSIPParameterHeaderBase - A base class for SIP headers that have structure "mandatory part"delimiter"parameters"
Defined in CSIPParameterHeaderBase:
DeleteParam(), HasParam(), Param(), ParamCount(), ParamValue(), SetParamL(), SetParamL(), ToTextValueL(), ~CSIPParameterHeaderBase()
Inherited from CBase:
Delete(),
Extension_(),
operator new()
Inherited from CSIPHeaderBase:
CloneL(),
ExternalizeL(),
ExternalizeSupported(),
Name(),
PushLC(),
ToTextL(),
ToTextLC(),
ToTextValueLC()
virtual IMPORT_C ~CSIPParameterHeaderBase();
Destructor, deletes the resources of CSIPParameterHeaderBase.
IMPORT_C TBool HasParam(RStringF aName) const;
Checks if a parameter is present
|
|
IMPORT_C RStringF ParamValue(RStringF aName) const;
HasParam(aName) == ETrue
Gets a parameter value
|
|
IMPORT_C void SetParamL(RStringF aName, RStringF aValue);
HasParam(aName) == EFalse
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.
|
IMPORT_C void SetParamL(RStringF aName);
HasParam(aName) == EFalse
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.
|
IMPORT_C void DeleteParam(RStringF aName);
Deletes a parameter
|
IMPORT_C TInt ParamCount() const;
Gets the count of header parameters
|
IMPORT_C TInt Param(TInt aIndex, RStringF &aName) const;
Gets a header parameter name by index. This function can be used when looping through all the header parameters.
|
|
virtual IMPORT_C HBufC8 *ToTextValueL() const;
From CSIPHeaderBase ToTextValueL
|