Reference TObjects<T>
Declared in Codebot.Collections.pas on line 337
TObjects<T> is an IList<T> of objects which optionally frees items when they are removed
TObjects<T: TObject> = class(TReferences<T>)
protected
function AsPointer(Item: T): Pointer; override;
procedure AddItem(P: Pointer); override;
procedure RemoveItem(P: Pointer); override;
public
{ Create the list optionally owning objects added to it }
constructor Create(OwnsObjects: Boolean = False);
{ Returns the index of the object or -1 if it cannot be found }
function IndexOf(Item: T): Integer; override;
end;