CrystalSpace

Public API Reference

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

csRefArray< T > Class Template Reference

An array of smart pointers. More...

#include <csutil/refarr.h>

Inheritance diagram for csRefArray< T >:

csArray< T *, csRefArrayElementHandler< T * > > csRefArrayObject< T > List of all members.

Public Member Functions

 csRefArray (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.
csPtr< T > Pop ()
 Pop an element from tail end of array.

Detailed Description

template<class T>
class csRefArray< T >

An array of smart pointers.

Definition at line 87 of file refarr.h.


Constructor & Destructor Documentation

template<class T>
csRefArray< T >::csRefArray 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 94 of file refarr.h.


Member Function Documentation

template<class T>
csPtr<T> csRefArray< T >::Pop  )  [inline]
 

Pop an element from tail end of array.

Reimplemented from csArray< T *, csRefArrayElementHandler< T * > >.

Definition at line 100 of file refarr.h.


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