class CMdEObjectCondition |
Query condition for objects.
Public Member Functions | |
---|---|
~CMdEObjectCondition () | |
IMPORT_C TObjectConditionCompareMethod | CompareMethod () |
IMPORT_C TObjectConditionConfidentialityLevel | ConfidentialityLevel () |
TUint32 | InternalQueryOptimizationFlags ( TUint32 &) |
CMdEObjectCondition * | NewL (TObjectConditionCompareMethod, TItemId , const CMdEObjectDef *, TInt64 , TInt64 ) |
CMdEObjectCondition * | NewL (TObjectConditionCompareMethod, const RArray < TItemId > *, const TDesC *, const TMdEUintRange *) |
CMdEObjectCondition * | NewLC (TObjectConditionCompareMethod, TItemId , const CMdEObjectDef *, TInt64 , TInt64 ) |
CMdEObjectCondition * | NewLC (TObjectConditionCompareMethod, const RArray < TItemId > *, const TDesC *, const TMdEUintRange *) |
IMPORT_C TBool | NotPlaceholder () |
IMPORT_C TBool | NotPresent () |
IMPORT_C const CMdEObjectDef * | ObjectDef () |
IMPORT_C TItemId | ObjectId () |
IMPORT_C const RArray < TItemId > * | ObjectIds () |
IMPORT_C TBool | PlaceholderOnly () |
TUint32 | RequiredBufferSize () |
void | SerializeL (CMdCSerializationBuffer &, TMdCOffset &) |
IMPORT_C void | SetConfidentialityLevel (TObjectConditionConfidentialityLevel) |
IMPORT_C void | SetNotPlaceholder ( TBool ) |
IMPORT_C void | SetNotPresent ( TBool ) |
IMPORT_C void | SetPlaceholderOnly ( TBool ) |
IMPORT_C const TDesC * | String () |
Private Member Functions | |
---|---|
CMdEObjectCondition (TObjectConditionCompareMethod, TItemId , const CMdEObjectDef *, TInt64 , TInt64 ) | |
CMdEObjectCondition (TObjectConditionCompareMethod) | |
void | ConstructL () |
void | ConstructL (const RArray < TItemId > *, const TDesC *, const TMdEUintRange *) |
Private Attributes | |
---|---|
TObjectConditionCompareMethod | iCompareMethod |
TObjectConditionConfidentialityLevel | iConfidentialityLevel |
TUint32 | iFlags |
TInt64 | iGuidHigh |
TInt64 | iGuidLow |
const CMdEObjectDef * | iObjectDef |
TItemId | iObjectId |
RArray < TItemId > * | iObjectIds |
TBool | iPlaceholdersOnly |
TMdEUintRange * | iRange |
HBufC * | iString |
CMdEObjectCondition | ( | TObjectConditionCompareMethod | aCompareMethod, |
TItemId | aObjectId, | ||
const CMdEObjectDef * | aObjectDef, | ||
TInt64 | aObjectGuidHigh, | ||
TInt64 | aObjectGuidLow | ||
) | [private] |
Constructor.
CMdEObjectCondition | ( | TObjectConditionCompareMethod | aCompareMethod | ) | [private] |
Constructor.
TObjectConditionCompareMethod aCompareMethod | Comparison method. |
IMPORT_C TObjectConditionCompareMethod | CompareMethod | ( | ) | const |
Returns the comparison method of the condition.
IMPORT_C TObjectConditionConfidentialityLevel | ConfidentialityLevel | ( | ) | const |
Returns the level of confidentiality of the condition.
void | ConstructL | ( | const RArray < TItemId > * | aObjectIds, |
const TDesC * | aString, | |||
const TMdEUintRange * | aRange | |||
) | [private] |
Second-phase constructor.
TUint32 | InternalQueryOptimizationFlags | ( | TUint32 & | aFlags | ) |
Get possible query's internal optimization flags from condition.
TUint32 & aFlags |
CMdEObjectCondition * | NewL | ( | TObjectConditionCompareMethod | aCompareMethod, |
TItemId | aObjectId = KNoId , | |||
const CMdEObjectDef * | aObjectDef = NULL, | |||
TInt64 | aObjectGuidHigh = 0, | |||
TInt64 | aObjectGuidLow = 0 | |||
) | [static] |
Two-phased constructor.
CMdEObjectCondition * | NewL | ( | TObjectConditionCompareMethod | aCompareMethod, |
const RArray < TItemId > * | aObjectIds = NULL, | |||
const TDesC * | aString = NULL, | |||
const TMdEUintRange * | aRange = NULL | |||
) | [static] |
CMdEObjectCondition * | NewLC | ( | TObjectConditionCompareMethod | aCompareMethod, |
TItemId | aObjectId = KNoId , | |||
const CMdEObjectDef * | aObjectDef = NULL, | |||
TInt64 | aObjectGuidHigh = 0, | |||
TInt64 | aObjectGuidLow = 0 | |||
) | [static] |
CMdEObjectCondition * | NewLC | ( | TObjectConditionCompareMethod | aCompareMethod, |
const RArray < TItemId > * | aObjectIds = NULL, | |||
const TDesC * | aString = NULL, | |||
const TMdEUintRange * | aRange = NULL | |||
) | [static] |
IMPORT_C TBool | NotPlaceholder | ( | ) | const |
Determines whether the condition requires the object to be a not placeholder object.
IMPORT_C TBool | NotPresent | ( | ) | const |
Determines whether the condition requires the object to be a present object or not.
IMPORT_C const CMdEObjectDef * | ObjectDef | ( | ) | const |
Returns the object definition of the condition.
IMPORT_C const RArray < TItemId > * | ObjectIds | ( | ) | const |
Returns the object ID numbers of the condition.
IMPORT_C TBool | PlaceholderOnly | ( | ) | const |
Determines whether the condition requires the object to be a not placeholder object.
TUint32 | RequiredBufferSize | ( | ) | const |
Get required size of serialized buffer when this 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 void | SetConfidentialityLevel | ( | TObjectConditionConfidentialityLevel | aLevel | ) |
Sets the confidentiality level for the condition. Default level is ELevelNormal.
TObjectConditionConfidentialityLevel aLevel | focuses the search to confidential or non-confidential objects or both of them. |
IMPORT_C void | SetNotPlaceholder | ( | TBool | aNotPlaceholder | ) |
Sets whether the condition requires the object to be a not placeholder object.
TBool aNotPlaceholder | ETrue, if the object should be a not placeholder object. EFalse otherwise. |
IMPORT_C void | SetNotPresent | ( | TBool | aNotPresent | ) |
Sets whether the condition requires the object to be a present object or not.
TBool aNotPresent | ETrue, if the object should be a not present object. EFalse otherwise. |
IMPORT_C void | SetPlaceholderOnly | ( | TBool | aPlaceholderOnly | ) |
Sets whether the condition requires the object to be a not placeholder object.
TBool aPlaceholderOnly |
TObjectConditionCompareMethod | iCompareMethod | [private] |
Compare method for the string.
TObjectConditionConfidentialityLevel | iConfidentialityLevel | [private] |
Determines confidentiality level of result object. By default level is ELevelNormal, which means that query returns only non-confidential objects as result.
const CMdEObjectDef * | iObjectDef | [private] |
Object definition to match. NULL , if not applicable.
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.