| class CMdEEventCondition |
Query condition for events.
| Public Member Functions | |
|---|---|
| ~CMdEEventCondition () | |
| IMPORT_C const CMdEEventDef * | EventDef () |
| IMPORT_C TItemId | EventId () |
| TUint32 | InternalQueryOptimizationFlags ( TUint32 &) |
| CMdEEventCondition * | NewL ( TItemId , const CMdEEventDef *, const TMdETimeRange *, TEventConditionCompareMethod, const TDesC *) |
| CMdEEventCondition * | NewLC ( TItemId , const CMdEEventDef *, const TMdETimeRange *, TEventConditionCompareMethod, const TDesC *) |
| IMPORT_C CMdELogicCondition & | ObjectConditionsL () |
| IMPORT_C CMdELogicCondition & | ParticipantObjectConditionsL () |
| IMPORT_C const TDesC * | ParticipantURI () |
| TUint32 | RequiredBufferSize () |
| void | SerializeL (CMdCSerializationBuffer &, TMdCOffset &) |
| IMPORT_C CMdELogicCondition & | SourceObjectConditionsL () |
| IMPORT_C const TDesC * | SourceURI () |
| IMPORT_C const TMdETimeRange * | TimeRange () |
| Private Member Functions | |
|---|---|
| CMdEEventCondition ( TItemId , const CMdEEventDef *) | |
| void | ConstructL (const TMdETimeRange *, TEventConditionCompareMethod, const TDesC *) |
| Private Attributes | |
|---|---|
| TEventConditionCompareMethod | iCompareMethod |
| TMdETimeRange * | iCreationTimeRange |
| const CMdEEventDef * | iEventDef |
| const TItemId | iEventId |
| CMdELogicCondition * | iObjectConditions |
| CMdELogicCondition * | iParticipantConditions |
| CMdELogicCondition * | iSourceConditions |
| HBufC * | iURI |
| CMdEEventCondition | ( | TItemId | aEventId, |
| const CMdEEventDef * | aEventDef | ||
| ) | [private] | ||
Constructor for a condition that requires that the event ID a certain ID or event is of a certain type.
| TItemId aEventId | Event ID. |
| const CMdEEventDef * aEventDef | Event definition. |
| void | ConstructL | ( | const TMdETimeRange * | aCreationTimeRange, |
| TEventConditionCompareMethod | aCompareMethod = EEventConditionCompareNone, | |||
| const TDesC * | aString = 0 | |||
| ) | [private] | |||
Second-phase constructor. Pass NULL in parameters that are not needed.
| const TMdETimeRange * aCreationTimeRange | Range for the creation time. |
| TEventConditionCompareMethod aCompareMethod = EEventConditionCompareNone | Comparison method for the string. |
| const TDesC * aString = 0 | Text string to match. |
| IMPORT_C const CMdEEventDef * | EventDef | ( | ) | const |
Returns the event definition that the condition matches against.
| IMPORT_C TItemId | EventId | ( | ) | const |
Returns the event ID that the condition matches against.
| TUint32 | InternalQueryOptimizationFlags | ( | TUint32 & | aFlags | ) |
Get possible query's internal optimization flags from condition.
| TUint32 & aFlags |
| CMdEEventCondition * | NewL | ( | TItemId | aEventId = KNoId , |
| const CMdEEventDef * | aEventDef = NULL, | |||
| const TMdETimeRange * | aCreationTimeRange = NULL, | |||
| TEventConditionCompareMethod | aCompareMethod = EEventConditionCompareNone, | |||
| const TDesC * | aString = NULL | |||
| ) | [static] | |||
Create new CMdEEventCondition from serialized buffer
| CMdEEventCondition * | NewLC | ( | TItemId | aEventId = KNoId , |
| const CMdEEventDef * | aEventDef = NULL, | |||
| const TMdETimeRange * | aCreationTimeRange = NULL, | |||
| TEventConditionCompareMethod | aCompareMethod = EEventConditionCompareNone, | |||
| const TDesC * | aString = NULL | |||
| ) | [static] | |||
Create new CMdEEventCondition from serialized buffer and leaves it on stack
| IMPORT_C CMdELogicCondition & | ObjectConditionsL | ( | ) |
Returns the logic condition root node of the conditions defined for the object which the event is attached to.
| IMPORT_C CMdELogicCondition & | ParticipantObjectConditionsL | ( | ) |
Returns the logic condition root node of the condition defined for the object whose URI matches the source URI of the event.
| IMPORT_C const TDesC * | ParticipantURI | ( | ) | const |
Returns the participant URI the condition matches against.
| TUint32 | RequiredBufferSize | ( | ) | const |
Get required size of serialized buffer when it is serialized.
| void | SerializeL | ( | CMdCSerializationBuffer & | aBuffer, |
| TMdCOffset & | aFreespaceOffset | |||
| ) | const | |||
Serialize own data to serialized buffer (correct position must be set before calling) and return new position of serialized buffer.
| CMdCSerializationBuffer & aBuffer | serialized buffer. |
| TMdCOffset & aFreespaceOffset |
| IMPORT_C CMdELogicCondition & | SourceObjectConditionsL | ( | ) |
Returns the logic condition root node of the condition defined for the object whose URI matches the source URI of the event.
| IMPORT_C const TDesC * | SourceURI | ( | ) | const |
Returns the source URI the condition matches against.
| IMPORT_C const TMdETimeRange * | TimeRange | ( | ) | const |
Returns the creation time range of the condition.
| TEventConditionCompareMethod | iCompareMethod | [private] |
Method of comparison.
| TMdETimeRange * | iCreationTimeRange | [private] |
Creation time range. NULL , if not defined.
| const CMdEEventDef * | iEventDef | [private] |
Event definition to match. NULL , if not defined.
| CMdELogicCondition * | iObjectConditions | [private] |
Conditions for the object which the event is associated with.
| CMdELogicCondition * | iParticipantConditions | [private] |
Conditions for the object whose URI matches the participant URI.
| CMdELogicCondition * | iSourceConditions | [private] |
Conditions for the object whose URI matches the source URI.
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.