Main Page | Modules | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages
iCollection Struct Reference
A collection object is for convenience of the script language. More...
#include <iengine/collectn.h>
Inheritance diagram for iCollection:

Public Member Functions | |
virtual iObject * | QueryObject ()=0 |
Query the iObject for this collection. | |
virtual iObject * | FindObject (char *name) const =0 |
Find an object with the given name inside this collection. | |
virtual int | GetObjectCount () const =0 |
Get the number of objects in this collection. | |
virtual void | AddObject (iObject *obj)=0 |
Add an object to the collection. | |
virtual iObject * | operator[] (int i) const =0 |
Get an object by index (operator version). | |
virtual iObject * | GetObject (int i) const =0 |
Get an object by index (function version). |
Detailed Description
A collection object is for convenience of the script language.It is simply a collection of other objects.
Main creators of instances implementing this interface:
Main ways to get pointers to this interface: Main users of this interface:- Engine stores them.
- Application uses them.
Definition at line 51 of file collectn.h.
Member Function Documentation
|
Add an object to the collection.
|
|
Find an object with the given name inside this collection.
|
|
Get an object by index (function version).
|
|
Get the number of objects in this collection.
|
|
Get an object by index (operator version).
|
|
Query the iObject for this collection.
|
The documentation for this struct was generated from the following file:
- iengine/collectn.h
Generated for Crystal Space by doxygen 1.3.9.1