methodTstKeyManager.GetKeys
procedure GetKeys(const aIdentifier: OctetString; aList : IInterfaceList; aUnfiltered: Boolean = False); overload;
Collects every key that any attached index holds under aIdentifier and appends them to aList. An empty identifier yields the DefaultKey. Pass aUnfiltered = True to skip the filter policy. Unlike GetKey (which returns only the first match) this gathers all matches across all indexes.
procedure GetKeys(const aIdentifier: OctetString; aProc : tGetKeyProc; aTag : Pointer = nil; aUnfiltered: Boolean = False); overload;
Callback form of GetKeys: invokes aProc (with aTag) once per key found for aIdentifier.
procedure GetKeys(const aIdentifier: OctetString; aProc : tGetKeyMethod; aTag : Pointer = nil; aUnfiltered: Boolean = False); overload;
Method-callback form of GetKeys: invokes the method aProc (with aTag) once per key found for aIdentifier.
procedure GetKeys(const aIdentifier: OctetString; const aIID : TGUID; const aDataIID : TGUID; aList : IInterfaceList; aUnfiltered: Boolean = False); overload;
GetKeys restricted to keys that support the interface aIID (with key-data interface aDataIID); appends the matching keys held under aIdentifier to aList.
procedure GetKeys(const aIdentifier: OctetString; const aIID : TGUID; const aDataIID : TGUID; aProc : tGetKeyProc; aTag : Pointer = nil; aUnfiltered: Boolean = False); overload;
Interface-filtered GetKeys delivering results through the callback aProc (with aTag).
procedure GetKeys(const aIdentifier: OctetString; const aIID : TGUID; const aDataIID : TGUID; aProc : tGetKeyMethod; aTag : Pointer = nil; aUnfiltered: Boolean = False); overload;
Interface-filtered GetKeys delivering results through the method callback aProc (with aTag).