CrystalSpace

Public API Reference

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

csSafeCopyArray< T > Class Template Reference

Conveniance class to make a version of csArray that does a safe-copy in case of reallocation of the array. More...

#include <array.h>

Inheritance diagram for csSafeCopyArray< T >:

csArray< T, csArrayElementHandler< T >, csSafeCopyArrayMemoryAllocator< T > > List of all members.

Public Methods

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


Detailed Description

template<class T>
class csSafeCopyArray< T >

Conveniance class to make a version of csArray that does a safe-copy in case of reallocation of the array.

Useful for weak references.

Definition at line 691 of file array.h.


Constructor & Destructor Documentation

template<class T>
csSafeCopyArray< T >::csSafeCopyArray 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 701 of file array.h.


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