class CMdERelationCondition |
Search condition for relations.
Public Member Functions | |
---|---|
~CMdERelationCondition () | |
IMPORT_C TBool | Guid ( TInt64 &, TInt64 &) |
TUint32 | InternalQueryOptimizationFlags ( TUint32 &) |
IMPORT_C TBool | LastModifiedDateRange (TMdETimeRange &) |
IMPORT_C CMdELogicCondition & | LeftL () |
CMdERelationCondition * | NewL ( TItemId , const RArray < TItemId > *, TRelationConditionSide, const CMdERelationDef *, const TMdEIntRange *) |
CMdERelationCondition * | NewLC ( TItemId , const RArray < TItemId > *, TRelationConditionSide, const CMdERelationDef *, const TMdEIntRange *) |
IMPORT_C const TMdEIntRange * | ParameterRange () |
IMPORT_C const CMdERelationDef * | RelationDef () |
IMPORT_C TItemId | RelationId () |
IMPORT_C const RArray < TItemId > * | RelationIds () |
TUint32 | RequiredBufferSize () |
IMPORT_C CMdELogicCondition & | RightL () |
void | SerializeL (CMdCSerializationBuffer &, TMdCOffset &) |
IMPORT_C void | SetGuid (const TInt64 &, const TInt64 &) |
IMPORT_C void | SetLastModifiedDateRangeL (const TMdETimeRange &) |
IMPORT_C void | SetSide (TRelationConditionSide) |
TRelationConditionSide | Side () |
Private Member Functions | |
---|---|
CMdERelationCondition ( TItemId , TRelationConditionSide, const CMdERelationDef *) | |
void | ConstructL (const RArray < TItemId > *, const TMdEIntRange *) |
Private Attributes | |
---|---|
TInt64 | iGuidHigh |
TInt64 | iGuidLow |
TMdETimeRange * | iLastModifiedDateRange |
CMdELogicCondition * | iLeftCondition |
TMdEIntRange * | iParameterRange |
const CMdERelationDef * | iRelationDef |
const TItemId | iRelationId |
RArray < TItemId > * | iRelationIds |
CMdELogicCondition * | iRightCondition |
TRelationConditionSide | iSide |
CMdERelationCondition | ( | TItemId | aRelationId, |
TRelationConditionSide | aSide, | ||
const CMdERelationDef * | aRelationDef | ||
) | [private] |
Constructor.
TItemId aRelationId | The relation ID which an relation must match. |
TRelationConditionSide aSide | The side on which an object must be. |
const CMdERelationDef * aRelationDef | relation definition |
void | ConstructL | ( | const RArray < TItemId > * | aRelationIds, |
const TMdEIntRange * | aParameterRange | |||
) | [private] |
Second-phase constructor. Creates two LogicConditions as children of this relation condition and creates range condition for parameter. Ownership of the parameter stays with caller.
IMPORT_C TBool | Guid | ( | TInt64 & | aGuidHigh, |
TInt64 & | aGuidLow | |||
) | const |
Gets the GUID which a relation must match.
TUint32 | InternalQueryOptimizationFlags | ( | TUint32 & | aFlags | ) |
Get possible query's internal optimization flags from condition.
TUint32 & aFlags |
IMPORT_C TBool | LastModifiedDateRange | ( | TMdETimeRange & | aLastModifiedDateRange | ) | const |
Gets the last modified date range which a relation must match.
TMdETimeRange & aLastModifiedDateRange | reference where last modified date range will be stored |
IMPORT_C CMdELogicCondition & | LeftL | ( | ) |
Returns the conditions for the object on the left side of the relation.
CMdERelationCondition * | NewL | ( | TItemId | aRelationId = KNoId , |
const RArray < TItemId > * | aRelationIds = NULL, | |||
TRelationConditionSide | aSide = ERelationConditionSideEither, | |||
const CMdERelationDef * | aRelationDef = NULL, | |||
const TMdEIntRange * | aParameterRange = NULL | |||
) | [static] |
CMdERelationCondition * | NewLC | ( | TItemId | aRelationId = KNoId , |
const RArray < TItemId > * | aRelationIds = NULL, | |||
TRelationConditionSide | aSide = ERelationConditionSideEither, | |||
const CMdERelationDef * | aRelationDef = NULL, | |||
const TMdEIntRange * | aParameterRange = NULL | |||
) | [static] |
IMPORT_C const TMdEIntRange * | ParameterRange | ( | ) | const |
Returns the relation parameter range.
IMPORT_C const CMdERelationDef * | RelationDef | ( | ) | const |
Returns a pointer to the relation definition.
TUint32 | RequiredBufferSize | ( | ) | const |
Get required size of serialized buffer when it is serialized.
IMPORT_C CMdELogicCondition & | RightL | ( | ) |
Returns the conditions for the object on the right side of the relation.
void | SerializeL | ( | CMdCSerializationBuffer & | aBuffer, |
TMdCOffset & | aFreespaceOffset | |||
) | const |
Serialize own data to serialized buffer (correct position must be set before calling).
CMdCSerializationBuffer & aBuffer | serialized buffer. |
TMdCOffset & aFreespaceOffset |
IMPORT_C void | SetGuid | ( | const TInt64 & | aGuidHigh, |
const TInt64 & | aGuidLow | |||
) |
Sets the GUID which a relation must match.
IMPORT_C void | SetLastModifiedDateRangeL | ( | const TMdETimeRange & | aLastModifiedDateRange | ) |
Sets the last modified date range which a relation must match.
const TMdETimeRange & aLastModifiedDateRange |
IMPORT_C void | SetSide | ( | TRelationConditionSide | aSide | ) |
Sets the side on which a matched object must be.
TRelationConditionSide aSide |
TMdETimeRange * | iLastModifiedDateRange | [private] |
Conditions for the relation last modified date.
CMdELogicCondition * | iLeftCondition | [private] |
Conditions for the left object.
TMdEIntRange * | iParameterRange | [private] |
Conditions for the relation parameter.
const CMdERelationDef * | iRelationDef | [private] |
Relation definition.
CMdELogicCondition * | iRightCondition | [private] |
Conditions for the right object.
TRelationConditionSide | iSide | [private] |
The side on which an object must be.
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.