The default element handler for csArray.
More...
#include <csutil/array.h>
Inherited by csPDelArrayElementHandler< T >, and csRefArrayElementHandler< T >.
List of all members.
Static Public Member Functions |
static void | Construct (T *address) |
| Construct an element.
|
static void | Construct (T *address, T const &src) |
| Copy-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.
|
static void | MoveElementsNoOverlap (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) |
| Reallocate a region allocated by Allocator .
|
Detailed Description
template<class T>
class csArrayElementHandler< T >
The default element handler for csArray.
Definition at line 108 of file array.h.
Member Function Documentation
Construct an element.
Definition at line 112 of file array.h.
Copy-construct an element.
Definition at line 118 of file array.h.
Destroy an element.
Definition at line 124 of file array.h.
Construct a number of elements.
Definition at line 130 of file array.h.
Move elements inside a region.
Definition at line 155 of file array.h.
Move elements inside a region.
- Warning:
- Only use if you _know_ source and destination regions don't overlap!
Definition at line 164 of file array.h.
template<class T>
template<typename Allocator >
Reallocate a region allocated by Allocator
.
Definition at line 138 of file array.h.
The documentation for this class was generated from the following file: