CMdEEventCondition Class Reference
Query condition for events.
Constructor & Destructor Documentation
CMdEEventCondition(TItemId, const CMdEEventDef *)
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.
Parameters
TItemId aEventId | Event ID. |
const CMdEEventDef * aEventDef | Event definition. |
~CMdEEventCondition()
~CMdEEventCondition | ( | ) | [virtual] |
Member Functions Documentation
ConstructL(const TMdETimeRange *, TEventConditionCompareMethod, const TDesC *)
void | ConstructL | ( | const TMdETimeRange * | aCreationTimeRange, |
| TEventConditionCompareMethod | aCompareMethod = EEventConditionCompareNone, |
| const TDesC * | aString = 0 |
| ) | [private] |
Second-phase constructor. Pass NULL in parameters that are not needed.
Parameters
const TMdETimeRange * aCreationTimeRange | Range for the creation time. |
TEventConditionCompareMethod aCompareMethod = EEventConditionCompareNone | Comparison method for the string. |
const TDesC * aString = 0 | Text string to match. |
EventDef()
IMPORT_C const CMdEEventDef * | EventDef | ( | ) | const |
Returns the event definition that the condition matches against.
EventId()
Returns the event ID that the condition matches against.
InternalQueryOptimizationFlags(TUint32 &)
Get possible query's internal optimization flags from condition.
NewL(TItemId, const CMdEEventDef *, const TMdETimeRange *, TEventConditionCompareMethod, const TDesC *)
CMdEEventCondition * | NewL | ( | TItemId | aEventId =
KNoId
, |
| const CMdEEventDef * | aEventDef = NULL, |
| const TMdETimeRange * | aCreationTimeRange = NULL, |
| TEventConditionCompareMethod | aCompareMethod = EEventConditionCompareNone, |
| const TDesC * | aString = NULL |
| ) | [static] |
Parameters
TItemId aEventId =
KNoId
| |
const CMdEEventDef * aEventDef = NULL | |
const TMdETimeRange * aCreationTimeRange = NULL | |
TEventConditionCompareMethod aCompareMethod = EEventConditionCompareNone | |
const TDesC * aString = NULL | |
NewLC(TItemId, const CMdEEventDef *, const TMdETimeRange *, TEventConditionCompareMethod, const TDesC *)
CMdEEventCondition * | NewLC | ( | TItemId | aEventId =
KNoId
, |
| const CMdEEventDef * | aEventDef = NULL, |
| const TMdETimeRange * | aCreationTimeRange = NULL, |
| TEventConditionCompareMethod | aCompareMethod = EEventConditionCompareNone, |
| const TDesC * | aString = NULL |
| ) | [static] |
Parameters
TItemId aEventId =
KNoId
| |
const CMdEEventDef * aEventDef = NULL | |
const TMdETimeRange * aCreationTimeRange = NULL | |
TEventConditionCompareMethod aCompareMethod = EEventConditionCompareNone | |
const TDesC * aString = NULL | |
ObjectConditionsL()
Returns the logic condition root node of the conditions defined for the object which the event is attached to.
ParticipantObjectConditionsL()
Returns the logic condition root node of the condition defined for the object whose URI matches the source URI of the event.
ParticipantURI()
IMPORT_C const TDesC * | ParticipantURI | ( | ) | const |
Returns the participant URI the condition matches against.
RequiredBufferSize()
Get required size of serialized buffer when it is serialized.
SerializeL(CMdCSerializationBuffer &, TMdCOffset &)
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.
Parameters
CMdCSerializationBuffer & aBuffer | serialized buffer. |
TMdCOffset & aFreespaceOffset | |
SourceObjectConditionsL()
Returns the logic condition root node of the condition defined for the object whose URI matches the source URI of the event.
SourceURI()
IMPORT_C const TDesC * | SourceURI | ( | ) | const |
Returns the source URI the condition matches against.
TimeRange()
IMPORT_C const TMdETimeRange * | TimeRange | ( | ) | const |
Returns the creation time range of the condition.
Member Data Documentation
TEventConditionCompareMethod iCompareMethod
TEventConditionCompareMethod | iCompareMethod | [private] |
TMdETimeRange * iCreationTimeRange
TMdETimeRange * | iCreationTimeRange | [private] |
Creation time range. NULL, if not defined.
const CMdEEventDef * iEventDef
const CMdEEventDef * | iEventDef | [private] |
Event definition to match. NULL, if not defined.
CMdELogicCondition * iObjectConditions
Conditions for the object which the event is associated with.
CMdELogicCondition * iParticipantConditions
Conditions for the object whose URI matches the participant URI.
CMdELogicCondition * iSourceConditions
Conditions for the object whose URI matches the source URI.
HBufC * iURI
Source of participant URI to match. NULL, if not defined.
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.