An IDL_ Container object holds other objects. Destroying an IDL_Container object destroys any objects that have been added to the container via the Add method.
The IDL_Container:: Add procedure method adds a child object to the container. IDL_Container is described above.
The IDL_Container:: Cleanup procedure method performs all cleanup on the object. IDL_Container is described above.
NOTE: Cleanup methods are special lifecycle methods , and as such cannot be called outside the context of object destruction. This means that in most cases, you cannot call the Cleanup method directly. There is one exception to this rule: If you write your own subclass of this class, you can call the Cleanup method from within the Cleanup method of the subclass.
The IDL_Container:: Count function method returns the number of objects contained by the container object. IDL_Container is described above.
The IDL_Container:: Get function method returns an array of object references to objects in a container. Unless the ALL or COUNT keywords are specified, the first object in the container is returned. If no objects are found in the container, the Get function returns -1. IDL_Container is described above.
Set this keyword to return an array of object references to all of the objects in the container.
Set this keyword equal to a named variable that will contain the number of objects selected by the function. If the ALL keyword is also specified, specifying this keyword is the same as calling the IDL_Container::Count method.
The IDL_Container:: Init function method initializes the container object. IDL_Container is described above.
NOTE: Init methods are special lifecycle methods , and as such cannot be called outside the context of object creation. This means that in most cases, you cannot call the Init method directly. There is one exception to this rule: If you write your own subclass of this class, you can call the Init method from within the Init method of the subclass.
Obj = OBJ_NEW('IDL_Container')
Result =
Obj
->
[IDL_Container::]
Init() (
In a subclass' Init method only
.)
The IDL_Container:: IsContained function method returns true (1) if the specified object is in the container, or false (0) otherwise. IDL_Container is described above.
The IDL_Container:: Move procedure method moves an object from one position in a container to a new position. The order of the other objects in the container remains unchanged. IDL_Container is described above.
Positioning within a container controls the rendering order of the contained objects. The object whose location has the lowest index value is rendered first. If several objects are located at the same point in three-dimensional space, the object rendered first will occlude objects rendered later. Objects located "behind" other objects in three-dimensional space must be rendered before objects in front of them, even if the "front" objects are translucent.
The IDL_Container:: Remove procedure method removes an object from view from the container. IDL_Container is described above.