CrystalSpace

Public API Reference

Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

iCollectionList Struct Reference

iCollection list. More...

#include <collectn.h>

Inheritance diagram for iCollectionList:

iBase List of all members.

Public Methods

virtual iCollectionNewCollection (const char *name)=0
 Create a new collection.

virtual int GetCount () const=0
 Return the number of collections in this list.

virtual iCollectionGet (int n) const=0
 Return a collection by index.

virtual int Add (iCollection *obj)=0
 Add a collection.

virtual bool Remove (iCollection *obj)=0
 Remove a collection.

virtual bool Remove (int n)=0
 Remove the nth collection.

virtual void RemoveAll ()=0
 Remove all collections.

virtual int Find (iCollection *obj) const=0
 Find a collection and return its index.

virtual iCollectionFindByName (const char *Name) const=0
 Find a collection by name.


Detailed Description

iCollection list.

Definition at line 59 of file collectn.h.


Member Function Documentation

virtual int iCollectionList::Add iCollection   obj [pure virtual]
 

Add a collection.

virtual int iCollectionList::Find iCollection   obj const [pure virtual]
 

Find a collection and return its index.

virtual iCollection* iCollectionList::FindByName const char *    Name const [pure virtual]
 

Find a collection by name.

virtual iCollection* iCollectionList::Get int    n const [pure virtual]
 

Return a collection by index.

virtual int iCollectionList::GetCount   [pure virtual]
 

Return the number of collections in this list.

virtual iCollection* iCollectionList::NewCollection const char *    name [pure virtual]
 

Create a new collection.

virtual bool iCollectionList::Remove int    n [pure virtual]
 

Remove the nth collection.

virtual bool iCollectionList::Remove iCollection   obj [pure virtual]
 

Remove a collection.

virtual void iCollectionList::RemoveAll   [pure virtual]
 

Remove all collections.


The documentation for this struct was generated from the following file:
Generated for Crystal Space by doxygen 1.2.18