methodTstKeyManager.GetCrossIndexKeys
procedure GetCrossIndexKeys(const aIndexes : array of string; const aIdentifiers: array of OctetString; aList : IInterfaceList; aUnfiltered : Boolean = False); overload;
Intersects lookups across several named indexes: aIndexes and aIdentifiers are parallel arrays, one identifier per index. Starts from the keys of the first (index,identifier) pair and keeps only those keys that each further index also holds under its paired identifier, leaving the surviving keys in aList. Raises if the two arrays differ in length or an index name is not found. Used to resolve a key that must satisfy several indexes at once.
procedure GetCrossIndexKeys(const aIndexes : array of string; const aIdentifiers: array of OctetString; aProc : tGetKeyProc; aTag : Pointer = nil; aUnfiltered : Boolean = False); overload;
Callback form of GetCrossIndexKeys: invokes aProc (with aTag) once per key surviving the cross-index intersection.
procedure GetCrossIndexKeys(const aIndexes : array of string; const aIdentifiers: array of OctetString; aProc : tGetKeyMethod; aTag : Pointer = nil; aUnfiltered : Boolean = False); overload;
Method-callback form of GetCrossIndexKeys: invokes the method aProc (with aTag) once per key surviving the cross-index intersection.
procedure GetCrossIndexKeys(const aIndexes : array of string; const aIdentifiers: array of OctetString; const aIID : TGUID; const aDataIID : TGUID; aList : IInterfaceList; aUnfiltered : Boolean = False); overload;
GetCrossIndexKeys restricted to keys supporting the interface aIID (with key-data interface aDataIID); leaves the surviving keys in aList.
procedure GetCrossIndexKeys(const aIndexes : array of string; const aIdentifiers: array of OctetString; const aIID : TGUID; const aDataIID : TGUID; aProc : tGetKeyProc; aTag : Pointer = nil; aUnfiltered : Boolean = False); overload;
Interface-filtered GetCrossIndexKeys delivering results through the callback aProc (with aTag).
procedure GetCrossIndexKeys(const aIndexes : array of string; const aIdentifiers: array of OctetString; const aIID : TGUID; const aDataIID : TGUID; aProc : tGetKeyMethod; aTag : Pointer = nil; aUnfiltered : Boolean = False); overload;
Interface-filtered GetCrossIndexKeys delivering results through the method callback aProc (with aTag).