#include <limits.h>
#include "fixmem.h"
#include "errors.h"
Go to the source code of this file.
Classes | |
class | Allocator< T > |
class | Allocator< void > |
Defines | |
#define | new CAM_DEBUG_NEW |
Functions | |
template<class T> | |
T * | Allocate (INT32 size, T *) |
template<class T> | |
void | Deallocate (T *buffer) |
template<class T> | |
void | Destroy (T *pointer) |
void | Destroy (char *) |
void | Destroy (unsigned char *) |
void | Destroy (short *) |
void | Destroy (unsigned short *) |
void | Destroy (INT32 *) |
void | Destroy (UINT32 *) |
void | Destroy (float *) |
void | Destroy (double *) |
void | Destroy (char **) |
void | Destroy (unsigned char **) |
void | Destroy (short **) |
void | Destroy (unsigned short **) |
void | Destroy (INT32 **) |
void | Destroy (UINT32 **) |
void | Destroy (float **) |
void | Destroy (double **) |
void | Destroy (char *, char *) |
void | Destroy (unsigned char *, unsigned char *) |
void | Destroy (short *, short *) |
void | Destroy (unsigned short *, unsigned short *) |
void | Destroy (INT32 *, INT32 *) |
void | Destroy (UINT32 *, UINT32 *) |
void | Destroy (float *, float *) |
void | Destroy (double *, double *) |
void | Destroy (char **, char **) |
void | Destroy (unsigned char **, unsigned char **) |
void | Destroy (short **, short **) |
void | Destroy (unsigned short **, unsigned short **) |
void | Destroy (INT32 **, INT32 **) |
void | Destroy (UINT32 **, UINT32 **) |
void | Destroy (float **, float **) |
void | Destroy (double **, double **) |
template<class T1, class T2> | |
void | Construct (T1 *p, const T2 &value) |
|
Definition at line 127 of file defalloc.h. |
|
Definition at line 130 of file defalloc.h. 00131 { 00132 T* tmp = (T*)CCMalloc((UINT32)(size * sizeof(T))); 00133 ERROR2IF(tmp == 0, NULL, "Out of Memory"); 00134 return tmp; 00135 }
|
|
Definition at line 192 of file defalloc.h. 00193 { 00194 *p = T1(value); 00195 }
|
|
Definition at line 146 of file defalloc.h.
|
|
Definition at line 189 of file defalloc.h.
|
|
Definition at line 188 of file defalloc.h.
|
|
Definition at line 187 of file defalloc.h.
|
|
Definition at line 186 of file defalloc.h.
|
|
Definition at line 185 of file defalloc.h.
|
|
Definition at line 184 of file defalloc.h.
|
|
Definition at line 183 of file defalloc.h.
|
|
Definition at line 182 of file defalloc.h.
|
|
Definition at line 181 of file defalloc.h.
|
|
Definition at line 180 of file defalloc.h.
|
|
Definition at line 179 of file defalloc.h.
|
|
Definition at line 178 of file defalloc.h.
|
|
Definition at line 177 of file defalloc.h.
|
|
Definition at line 176 of file defalloc.h.
|
|
Definition at line 175 of file defalloc.h.
|
|
Definition at line 174 of file defalloc.h.
|
|
Definition at line 172 of file defalloc.h.
|
|
Definition at line 171 of file defalloc.h.
|
|
Definition at line 170 of file defalloc.h.
|
|
Definition at line 169 of file defalloc.h.
|
|
Definition at line 168 of file defalloc.h.
|
|
Definition at line 167 of file defalloc.h.
|
|
Definition at line 166 of file defalloc.h.
|
|
Definition at line 165 of file defalloc.h.
|
|
Definition at line 164 of file defalloc.h.
|
|
Definition at line 163 of file defalloc.h.
|
|
Definition at line 162 of file defalloc.h.
|
|
Definition at line 161 of file defalloc.h.
|
|
Definition at line 160 of file defalloc.h.
|
|
Definition at line 159 of file defalloc.h.
|
|
Definition at line 158 of file defalloc.h.
|
|
Definition at line 157 of file defalloc.h.
|
|
Definition at line 152 of file defalloc.h.
|