AllocatorBaseDH

AllocatorBaseDH
Scaleform::AllocatorBaseDH
Declaration
template <int SID = Stat_Default_Mem>
class AllocatorBaseDH;
Description

AllocatorBaseDH is a dynamic-heap allocator which allocates memory for containers created on the stack, or anywhere else, where the heap pointer is explicitly specified. The difference between AllocatorBaseDH and AllocatorBaseLH is that AllocatorBaseLH takes any pointer inside the heap, while AllocatorBaseDH requires a pointer to the heap itself. If SID is Stat_Default_Mem, the allocator inherits the SID which is used as the StatId for allocation identifier.

Methods
Method 
Description 
Allocates memory blocks while automatically identifying heap and allocation id based on the specified address. 
Free 
Frees the memory block allocated by Alloc or Realloc
Realloc reallocates a memory block allocated by Alloc to a new size. 
File

SF_Allocator.h