Class TObjList (unit SuperStream)

Inherits from

TList

TObjList is a subclass of TList that contains a list of objects. It provides an extra property, Objects, that gives access to the list.

Constructors



Functions

destructor Destroy;


procedure FreeAll;

Clear the list, freeing all the objects.

Properties

property Objects : TObject

Get at a list element, typecase to a TObject.

property Owns : Boolean

If the Owns property is true, the TObjList will free the objects it contains when it is destroyed.

Events

Variables


Constructors


Functions


destructor Destroy;


procedure FreeAll;

Clear the list, freeing all the objects.


Properties


property Objects : TObject

Get at a list element, typecase to a TObject. This property is also set up as the default property, so all you need to do is use objectList[x] to get at an object.


property Owns : Boolean

If the Owns property is true, the TObjList will free the objects it contains when it is destroyed.


Events


Variables