![]() |
Public API Reference |
![]() |
A list of sectors. More...
#include <iengine/sector.h>
Public Member Functions | |
virtual int | Add (iSector *obj)=0 |
Add a sector. | |
virtual int | Find (iSector *obj) const =0 |
Find a sector and return its index. | |
virtual iSector * | FindByName (const char *Name) const =0 |
Find a sector by its name. | |
virtual iSector * | Get (int n) const =0 |
Return the sector at the given index. | |
virtual int | GetCount () const =0 |
Return the number of sectors in this list. | |
virtual bool | Remove (iSector *obj)=0 |
Remove a sector. | |
virtual bool | Remove (int n)=0 |
Remove the sector at the given index. | |
virtual void | RemoveAll ()=0 |
Remove all sectors. |
A list of sectors.
Main ways to get pointers to this interface:
Main users of this interface:
virtual int iSectorList::Add | ( | iSector * | obj | ) | [pure virtual] |
Add a sector.
virtual int iSectorList::Find | ( | iSector * | obj | ) | const [pure virtual] |
Find a sector and return its index.
virtual iSector* iSectorList::FindByName | ( | const char * | Name | ) | const [pure virtual] |
Find a sector by its name.
virtual iSector* iSectorList::Get | ( | int | n | ) | const [pure virtual] |
Return the sector at the given index.
virtual int iSectorList::GetCount | ( | ) | const [pure virtual] |
Return the number of sectors in this list.
virtual bool iSectorList::Remove | ( | iSector * | obj | ) | [pure virtual] |
Remove a sector.
virtual bool iSectorList::Remove | ( | int | n | ) | [pure virtual] |
Remove the sector at the given index.
virtual void iSectorList::RemoveAll | ( | ) | [pure virtual] |
Remove all sectors.