![]() |
Public API Reference |
#include <sector.h>
Inheritance diagram for csSectorList:
Public Methods | |
csSectorList (bool CleanupReferences) | |
constructor. More... | |
virtual | ~csSectorList () |
destructor. More... | |
virtual void | FreeItem (iSector *item) |
Override FreeItem. More... | |
virtual int | GetCount () const |
Return the number of sectors in this list. More... | |
virtual iSector * | Get (int n) const |
Return a sector by index. More... | |
virtual int | Add (iSector *obj) |
Add a sector. More... | |
virtual bool | Remove (iSector *obj) |
Remove a sector. More... | |
virtual bool | Remove (int n) |
Remove the nth sector. More... | |
virtual void | RemoveAll () |
Remove all sectors. More... | |
virtual int | Find (iSector *obj) const |
Find a sector and return its index. More... | |
virtual iSector * | FindByName (const char *Name) const |
Find a sector by name. More... |
Definition at line 555 of file csengine/sector.h.
|
constructor.
|
|
destructor.
Definition at line 567 of file csengine/sector.h. References RemoveAll. |
|
Add a sector.
Implements iSectorList. |
|
Find a sector and return its index.
Implements iSectorList. |
|
Find a sector by name.
Implements iSectorList. |
|
Override FreeItem.
|
|
Return a sector by index.
Implements iSectorList. Definition at line 573 of file csengine/sector.h. References csArray< T *, csRefArrayElementHandler< T * > >::Get. |
|
Return the number of sectors in this list.
Implements iSectorList. Definition at line 572 of file csengine/sector.h. References csArray< T *, csRefArrayElementHandler< T * > >::Length. |
|
Remove the nth sector.
Implements iSectorList. |
|
Remove a sector.
Implements iSectorList. |
|
Remove all sectors.
Implements iSectorList. Referenced by ~csSectorList. |