In file localheap.hpp:

class LocalHeap

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

[more] LocalHeap(int asize)
Allocate one block of size asize
[more] LocalHeap(char* adata, int asize)
[more] ~LocalHeap()
[more]void CleanUp()
[more]void* GetPointer()
[more]void CleanUp(void* addr)
[more]void* Alloc1(int size)
[more]void Free(void* data)

o LocalHeap(int asize)
Allocate one block of size asize

o LocalHeap(char* adata, int asize)

o ~LocalHeap()

ovoid CleanUp()

ovoid* GetPointer()

ovoid CleanUp(void* addr)

ovoid* Alloc1(int size)

ovoid 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++.