iCollection Struct Reference
A collection is used to store related objects in a simple structure to guarentee that they won't be freed by the engine and to help management. More...
#include <iengine/collection.h>

Public Member Functions | |
virtual void | Add (iObject *obj)=0 |
Add an object to this collection. | |
virtual iCameraPosition * | FindCameraPosition (const char *name)=0 |
Looks to see if this collection contains the camera position. | |
virtual iMaterialWrapper * | FindMaterial (const char *name)=0 |
Looks to see if this collection contains the material. | |
virtual iMeshFactoryWrapper * | FindMeshFactory (const char *name)=0 |
Looks to see if this collection contains the mesh factory. | |
virtual iMeshWrapper * | FindMeshObject (const char *name)=0 |
Looks to see if this collection contains the sector. | |
virtual iSector * | FindSector (const char *name)=0 |
Looks to see if this collection contains the sector. | |
virtual iShader * | FindShader (const char *name)=0 |
Looks to see if this collection contains the shader. | |
virtual iTextureWrapper * | FindTexture (const char *name)=0 |
Looks to see if this collection contains the texture. | |
virtual bool | IsParentOf (iObject *obj)=0 |
Returns true if this collection is the parent of the object passed. | |
virtual iObject * | QueryObject ()=0 |
Get the iObject for this collection. | |
virtual void | ReleaseAllObjects (bool debug=false)=0 |
Release all references to objects held by this collection. | |
virtual void | Remove (iObject *obj)=0 |
Remove an object from this collection. |
Detailed Description
A collection is used to store related objects in a simple structure to guarentee that they won't be freed by the engine and to help management.Definition at line 39 of file collection.h.
Member Function Documentation
virtual void iCollection::Add | ( | iObject * | obj | ) | [pure virtual] |
Add an object to this collection.
virtual iCameraPosition* iCollection::FindCameraPosition | ( | const char * | name | ) | [pure virtual] |
Looks to see if this collection contains the camera position.
If so, it returns the camera position.
virtual iMaterialWrapper* iCollection::FindMaterial | ( | const char * | name | ) | [pure virtual] |
Looks to see if this collection contains the material.
If so, it returns the material.
virtual iMeshFactoryWrapper* iCollection::FindMeshFactory | ( | const char * | name | ) | [pure virtual] |
Looks to see if this collection contains the mesh factory.
If so, it returns the mesh factory.
virtual iMeshWrapper* iCollection::FindMeshObject | ( | const char * | name | ) | [pure virtual] |
Looks to see if this collection contains the sector.
If so, it returns the sector.
virtual iSector* iCollection::FindSector | ( | const char * | name | ) | [pure virtual] |
Looks to see if this collection contains the sector.
If so, it returns the sector.
virtual iShader* iCollection::FindShader | ( | const char * | name | ) | [pure virtual] |
Looks to see if this collection contains the shader.
If so, it returns the shader.
virtual iTextureWrapper* iCollection::FindTexture | ( | const char * | name | ) | [pure virtual] |
Looks to see if this collection contains the texture.
If so, it returns the texture.
virtual bool iCollection::IsParentOf | ( | iObject * | obj | ) | [pure virtual] |
Returns true if this collection is the parent of the object passed.
virtual void iCollection::ReleaseAllObjects | ( | bool | debug = false |
) | [pure virtual] |
Release all references to objects held by this collection.
virtual void iCollection::Remove | ( | iObject * | obj | ) | [pure virtual] |
Remove an object from this collection.
The documentation for this struct was generated from the following file:
- iengine/collection.h
Generated for Crystal Space 1.4.0 by doxygen 1.5.8