In file localheap.hpp: Optimized memory handler.
Documentation
Optimized memory handler.
One block of data is organized as stack memory.
One can allocate memory out of it. This increases the stack pointer.
With CleanUp, the pointer is reset to the beginning or to a
specific position.
Public Methods
-
LocalHeap(int asize)
- Allocate one block of size asize
-
LocalHeap(char* adata, int asize)
-
~LocalHeap()
-
void CleanUp()
-
void* GetPointer()
-
void CleanUp(void* addr)
-
void* Alloc1(int size)
-
void Free(void* data)
LocalHeap(int asize)
- Allocate one block of size asize
LocalHeap(char* adata, int asize)
~LocalHeap()
void CleanUp()
void* GetPointer()
void CleanUp(void* addr)
void* Alloc1(int size)
void Free(void* data)
- This class has no child classes.
Alphabetic index HTML hierarchy of classes or Java
This page was generated with the help of DOC++.