#include <TargetList.h>
Public Member Functions | |
| TargetList () | |
| ~TargetList () | |
| void | clear () |
| bool | empty () |
| void | reset () |
| void | setCapacity (int capacity) |
| void ** | add (void *obj) |
| int | getObjectCount () |
| void ** | getObjects () |
Private Attributes | |
| int | count_ |
| int | capacity_ |
| void ** | objects_ |
| void ** | lastObject_ |
Definition at line 26 of file TargetList.h.
| TargetList::TargetList | ( | ) | [inline] |
| TargetList::~TargetList | ( | ) | [inline] |
| void TargetList::clear | ( | ) | [inline] |
Definition at line 38 of file TargetList.h.
References capacity_, count_, lastObject_, and objects_.
Referenced by VisibilityPatchInfo::clear(), setCapacity(), TargetList(), and ~TargetList().
| bool TargetList::empty | ( | ) | [inline] |
| void TargetList::reset | ( | ) | [inline] |
Definition at line 52 of file TargetList.h.
References count_, lastObject_, and objects_.
Referenced by VisibilityPatchInfo::reset(), and setCapacity().
| void TargetList::setCapacity | ( | int | capacity | ) | [inline] |
Definition at line 58 of file TargetList.h.
References capacity_, clear(), lastObject_, objects_, and reset().
Referenced by VisibilityPatchInfo::generate().
| void** TargetList::add | ( | void * | obj | ) | [inline] |
Definition at line 66 of file TargetList.h.
References capacity_, count_, lastObject_, and objects_.
Referenced by VisibilityPatchQuad::setVisible().
| int TargetList::getObjectCount | ( | ) | [inline] |
Definition at line 91 of file TargetList.h.
References count_.
Referenced by TargetListIterator::getNext(), VisibilityPatchInfo::getVisibleLandPatchesCount(), and VisibilityPatchInfo::getVisibleWaterPatchesCount().
| void** TargetList::getObjects | ( | ) | [inline] |
Definition at line 92 of file TargetList.h.
References objects_.
Referenced by TargetListIterator::init().
int TargetList::count_ [private] |
Definition at line 95 of file TargetList.h.
Referenced by add(), clear(), empty(), getObjectCount(), and reset().
int TargetList::capacity_ [private] |
void** TargetList::objects_ [private] |
Definition at line 96 of file TargetList.h.
Referenced by add(), clear(), getObjects(), reset(), and setCapacity().
void ** TargetList::lastObject_ [private] |
Definition at line 96 of file TargetList.h.
Referenced by add(), clear(), reset(), and setCapacity().
1.5.3