CrystalSpace

Public API Reference

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

csWeakRefArray< T > Class Template Reference

An array of weak references. More...

#include <weakrefarr.h>

Inheritance diagram for csWeakRefArray< T >:

csSafeCopyArray< csWeakRef< T > > List of all members.

Public Methods

 csWeakRefArray (int ilimit=0, int ithreshold=0)
 Initialize object to hold initially 'ilimit' elements, and increase storage by 'ithreshold' each time the upper bound is exceeded.

void Compact ()
 Compact this array by removing all weak references that have become 0.


Detailed Description

template<class T>
class csWeakRefArray< T >

An array of weak references.

Definition at line 37 of file weakrefarr.h.


Constructor & Destructor Documentation

template<class T>
csWeakRefArray< T >::csWeakRefArray int    ilimit = 0,
int    ithreshold = 0
[inline]
 

Initialize object to hold initially 'ilimit' elements, and increase storage by 'ithreshold' each time the upper bound is exceeded.

Definition at line 44 of file weakrefarr.h.


Member Function Documentation

template<class T>
void csWeakRefArray< T >::Compact   [inline]
 

Compact this array by removing all weak references that have become 0.

Definition at line 53 of file weakrefarr.h.


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