TargetList Class Reference

#include <TargetList.h>

List of all members.

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_


Detailed Description

Definition at line 26 of file TargetList.h.


Constructor & Destructor Documentation

TargetList::TargetList (  )  [inline]

Definition at line 29 of file TargetList.h.

References clear().

TargetList::~TargetList (  )  [inline]

Definition at line 33 of file TargetList.h.

References clear().


Member Function Documentation

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]

Definition at line 47 of file TargetList.h.

References count_.

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().


Member Data Documentation

int TargetList::count_ [private]

Definition at line 95 of file TargetList.h.

Referenced by add(), clear(), empty(), getObjectCount(), and reset().

int TargetList::capacity_ [private]

Definition at line 95 of file TargetList.h.

Referenced by add(), clear(), and setCapacity().

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().


The documentation for this class was generated from the following file:
Generated on Mon Feb 16 15:15:07 2009 for Scorched3D by  doxygen 1.5.3