Crystal Space: csRefArrayElementHandler< T > Class Template Reference (Crystal Space Public API Reference)

| ## Public API Reference

- Main Page
- Modules
- Namespaces
- Classes
- Files
- Related Pages

- Alphabetical List
- Class List
- Class Hierarchy
- Class Members

# csRefArrayElementHandler< T > Class Template Reference

Inheritance diagram for csRefArrayElementHandler< T >:

[legend]
List of all members.

## Static Public Member Functions
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.

## Detailed Description

### template<class T>
class csRefArrayElementHandler< T >

Definition at line 63 of file refarr.h.

## Member Function Documentation

template<class T>

static void csRefArrayElementHandler< T >::Construct | ( | T * | address,
|  | T const & | src |
| ) |  |  | `[inline, static]`

Copy-construct an element.

Reimplemented from csArrayElementHandler< T >.

Definition at line 66 of file refarr.h.

References CSREFARR_TRACK_INCREF.

template<class T>

static void csRefArrayElementHandler< T >::Destroy | ( | T * | address | ) | `[inline, static]`

Destroy an element.

Reimplemented from csArrayElementHandler< T >.

Definition at line 72 of file refarr.h.

References CSREFARR_TRACK_DECREF.

template<class T>

static void csRefArrayElementHandler< T >::InitRegion | ( | T * | address,
|  | size_t | count |
| ) |  |  | `[inline, static]`

Construct a number of elements.

Reimplemented from csArrayElementHandler< T >.

Definition at line 77 of file refarr.h.

The documentation for this class was generated from the following file:

- csutil/refarr.h