csArrayElementHandler< T > Class Template Reference
[Containers]
The default element handler for csArray.
More...
#include <csutil/array.h>
Static Public Member Functions | |
| static void | Construct (T *address, T const &src) |
| Copy-construct an element. | |
| static void | Construct (T *address) |
| Construct an element. | |
| static void | Destroy (T *address) |
| Destroy an element. | |
| static void | InitRegion (T *address, size_t count) |
| Construct a number of elements. | |
| static void | MoveElements (T *mem, size_t dest, size_t src, size_t count) |
| Move elements inside a region. | |
| template<typename Allocator > | |
| static T * | ResizeRegion (Allocator &alloc, T *mem, size_t relevantcount, size_t oldcount, size_t newcount) |
Reallocates a region allocated by Allocator. | |
Detailed Description
template<class T>
class csArrayElementHandler< T >
The default element handler for csArray.
Definition at line 103 of file array.h.
Member Function Documentation
template<class T>
| static void csArrayElementHandler< T >::Construct | ( | T * | address, | |
| T const & | src | |||
| ) | [inline, static] |
template<class T>
| static void csArrayElementHandler< T >::Construct | ( | T * | address | ) | [inline, static] |
template<class T>
| static void csArrayElementHandler< T >::Destroy | ( | T * | address | ) | [inline, static] |
template<class T>
| static void csArrayElementHandler< T >::InitRegion | ( | T * | address, | |
| size_t | count | |||
| ) | [inline, static] |
template<class T>
| static void csArrayElementHandler< T >::MoveElements | ( | T * | mem, | |
| size_t | dest, | |||
| size_t | src, | |||
| size_t | count | |||
| ) | [inline, static] |
template<class T>
template<typename Allocator >
| static T* csArrayElementHandler< T >::ResizeRegion | ( | Allocator & | alloc, | |
| T * | mem, | |||
| size_t | relevantcount, | |||
| size_t | oldcount, | |||
| size_t | newcount | |||
| ) | [inline, static] |
The documentation for this class was generated from the following file:
- csutil/array.h
Generated for Crystal Space 1.4.0 by doxygen 1.5.8
