FBX C++ API Reference
|
This allocator only frees the allocated memory when it is deleted. More...
#include <fbxcontainerallocators.h>
Public Member Functions | |
FbxHungryAllocator (size_t pRecordSize) | |
FbxHungryAllocator (const FbxHungryAllocator &pOther) | |
~FbxHungryAllocator () | |
void | Reserve (const size_t pRecordCount) |
void * | AllocateRecords (const size_t pRecordCount=1) |
void | FreeMemory (void *) |
size_t | GetRecordSize () const |
FbxHungryAllocator & | operator= (const FbxHungryAllocator &pOther) |
This allocator only frees the allocated memory when it is deleted.
This is a good allocator for building dictionaries, where we only add things to a container, but never remove them.
Definition at line 87 of file fbxcontainerallocators.h.
|
inline |
Definition at line 90 of file fbxcontainerallocators.h.
|
inline |
Definition at line 97 of file fbxcontainerallocators.h.
|
inline |
Definition at line 104 of file fbxcontainerallocators.h.
|
inline |
Definition at line 116 of file fbxcontainerallocators.h.
|
inline |
Definition at line 124 of file fbxcontainerallocators.h.
|
inline |
Definition at line 147 of file fbxcontainerallocators.h.
|
inline |
Definition at line 152 of file fbxcontainerallocators.h.
|
inline |
Definition at line 157 of file fbxcontainerallocators.h.