CACAO
Data Structures | Macros
dumpmemory.hpp File Reference

Go to the source code of this file.

Data Structures

class  DumpClass
 All classes intended to be allocated on dump memory should extend this base class to inherit the appropriate allocation operators. More...
 
class  DumpMemory
 Thread-local dump memory structure. More...
 
class  DumpMemoryArea
 Dump memory area. More...
 
class  DumpMemoryBlock
 Dump memory block. More...
 
class  DumpMemoryAllocator< T >
 Allocator for the dump memory. More...
 
struct  DumpMemoryAllocator< T >::rebind< U >
 

Macros

#define DNEW(type)   ((type*) DumpMemory::allocate(sizeof(type)))
 
#define DMNEW(type, num)   ((type*) DumpMemory::allocate(sizeof(type) * (num)))
 
#define DMREALLOC(ptr, type, num1, num2)   ((type*) DumpMemory::reallocate((ptr), sizeof(type) * (num1), sizeof(type) * (num2)))
 

Macro Definition Documentation

#define DMNEW (   type,
  num 
)    ((type*) DumpMemory::allocate(sizeof(type) * (num)))

Definition at line 371 of file dumpmemory.hpp.

#define DMREALLOC (   ptr,
  type,
  num1,
  num2 
)    ((type*) DumpMemory::reallocate((ptr), sizeof(type) * (num1), sizeof(type) * (num2)))

Definition at line 372 of file dumpmemory.hpp.

#define DNEW (   type)    ((type*) DumpMemory::allocate(sizeof(type)))

Definition at line 370 of file dumpmemory.hpp.