#include <mw/sipeventheader.h>
| class CSIPEventHeader : public CSIPParameterHeaderBase |
| Public Member Functions | |
|---|---|
| ~CSIPEventHeader() | |
| RPointerArray< CSIPHeaderBase > | BaseDecodeL(const TDesC8 &) |
| virtual IMPORT_C CSIPHeaderBase * | CloneL() |
| virtual RStringF | CompactName() |
| IMPORT_C CSIPEventHeader * | DecodeL(const TDesC8 &) |
| IMPORT_C const TDesC8 & | EventPackage() |
| IMPORT_C const MDesC8Array & | EventTemplates() |
| virtual TBool | HasCompactName() |
| IMPORT_C CSIPHeaderBase * | InternalizeValueL(RReadStream &) |
| virtual IMPORT_C RStringF | Name() |
| IMPORT_C CSIPEventHeader * | NewL(const TDesC8 &) |
| IMPORT_C CSIPEventHeader * | NewLC(const TDesC8 &) |
| virtual TPreferredPlace | PreferredPlaceInMessage() |
| IMPORT_C void | SetEventPackageL(const TDesC8 &) |
| IMPORT_C void | SetEventTemplatesL(const MDesC8Array &) |
| IMPORT_C TBool | operator==(const CSIPEventHeader &) |
| Inherited Attributes | |
|---|---|
| CSIPHeaderBase::iLink | |
| Inherited Enumerations | |
|---|---|
| CSIPHeaderBase:TPreferredPlace | |
Class provides functions for setting and getting parameters in SIP "Event" header.
| IMPORT_C | ~CSIPEventHeader | ( | ) |
Destructor, deletes the resources of CSIPEventHeader.
| RPointerArray< CSIPHeaderBase > | BaseDecodeL | ( | const TDesC8 & | aValue | ) | [static] |
| IMPORT_C CSIPHeaderBase * | CloneL | ( | ) | const [virtual] |
Reimplemented from CSIPHeaderBase::CloneL()const
From CSIPHeaderBase CloneL
| RStringF | CompactName | ( | ) | const [virtual] |
Reimplemented from CSIPHeaderBase::CompactName()const
| IMPORT_C CSIPEventHeader * | DecodeL | ( | const TDesC8 & | aValue | ) | [static] |
Constructs a CSIPEventHeader from textual representation of the header's value part.
| Parameter | Description |
|---|---|
| aValue | a value part of a "Event"-header |
Returns: a new instance of CSIPEventHeader
| IMPORT_C const TDesC8 & | EventPackage | ( | ) | const |
Gets the Event-Package parameter from the "Event" header
Returns: the Event-Package parameter
| IMPORT_C const MDesC8Array & | EventTemplates | ( | ) | const |
Gets the event templates.
Returns: a reference to the currently set event templates.
| TBool | HasCompactName | ( | ) | const [virtual] |
Reimplemented from CSIPHeaderBase::HasCompactName()const
| IMPORT_C CSIPHeaderBase * | InternalizeValueL | ( | RReadStream & | aReadStream | ) | [static] |
Constructs an instance of a CSIPEventHeader from a RReadStream
| Parameter | Description |
|---|---|
| aReadStream | a stream containing the value of the externalized object (header name not included). |
Returns: an instance of a CSIPEventHeader
| IMPORT_C RStringF | Name | ( | ) | const [virtual] |
Reimplemented from CSIPHeaderBase::Name()const
From CSIPHeaderBase Name
| IMPORT_C CSIPEventHeader * | NewL | ( | const TDesC8 & | aEventPackage | ) | [static] |
Creates a new instance of CSIPEventHeader
| Parameter | Description |
|---|---|
| aEventPackage | a Event-Package value |
Returns: a new instance of CSIPEventHeader
| IMPORT_C CSIPEventHeader * | NewLC | ( | const TDesC8 & | aEventPackage | ) | [static] |
Creates a new instance of CSIPEventHeader and puts it to CleanupStack
| Parameter | Description |
|---|---|
| aEventPackage | a Event-Package value |
Returns: a new instance of CSIPEventHeader
| TPreferredPlace | PreferredPlaceInMessage | ( | ) | const [virtual] |
Reimplemented from CSIPHeaderBase::PreferredPlaceInMessage()const
| IMPORT_C void | SetEventPackageL | ( | const TDesC8 & | aEventPackage | ) |
Sets the Event-Package parameter in the "Event" header;
| Parameter | Description |
|---|---|
| aEventPackage | a Event-Package parameter to set |
| IMPORT_C void | SetEventTemplatesL | ( | const MDesC8Array & | aEventTemplates | ) |
Sets the event templates overwriting all the existing ones.
| Parameter | Description |
|---|---|
| aEventTemplates | an array of event templates |
| IMPORT_C TBool | operator== | ( | const CSIPEventHeader & | aHeader | ) | const |
Compares this instance to another CSIPEventHeader instance
| Parameter | Description |
|---|---|
| aHeader | a header to compare to |
Returns: ETrue if the objects are equal otherwise EFalse