AllocatorBaseLH

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

AllocatorBaseLH is a local allocator which acts as an interface for memory allocations and allocates memory for containers that are part of other data structures. This allocator determines the allocation heap and AllocInfo::StatId based on the argument address; due to heap limitation it cannot be used for stack-allocated or global values. 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. 
Realloc reallocates a memory block allocated by Alloc to a new size. 
Free 
Frees the memory block allocated by Alloc or Realloc
File

SF_Allocator.h