CrystalSpace

Public API Reference

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

csRefArray< T > Class Template Reference

An array of smart pointers. More...

#include <refarr.h>

Inheritance diagram for csRefArray< T >:

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

Public Methods

 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 51 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 58 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 64 of file refarr.h.


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