![]() |
Public API Reference |
#include <collectn.h>
Inheritance diagram for iCollection:

Public Methods | |
| virtual iObject * | QueryObject ()=0 |
| Query the iObject for this collection. More... | |
| virtual iObject * | FindObject (char *name) const=0 |
| Find an object with the given name inside this collection. More... | |
| virtual int | GetObjectCount () const=0 |
| Get the number of objects in this collection. More... | |
| virtual void | AddObject (iObject *obj)=0 |
| Add an object to the collection. More... | |
| virtual iObject * | operator[] (int i) const=0 |
| Get an object by index (operator version). More... | |
| virtual iObject * | GetObject (int i) const=0 |
| Get an object by index (function version). More... | |
It is simply a collection of other objects.
Definition at line 36 of file collectn.h.
|
|
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.
|