HL::ZoneHeap< Super, ChunkSize > Class Template Reference
#include <zoneheap.h>
List of all members.
Classes |
| class | Arena |
Public Member Functions |
| | ZoneHeap (void) |
| | ~ZoneHeap (void) |
| void * | malloc (size_t sz) |
| void | free (void *) |
| | Free in a zone allocator is a no-op.
|
| int | remove (void *) |
| | Remove in a zone allocator is a no-op.
|
Private Member Functions |
| void * | zoneMalloc (size_t sz) |
Static Private Member Functions |
| static size_t | align (size_t sz) |
Private Attributes |
| long | sizeRemaining |
| | Space left in the current arena.
|
| Arena * | currentArena |
| | The current arena.
|
| Arena * | pastArenas |
| | A linked list of past arenas.
|
template<class Super, size_t ChunkSize>
class HL::ZoneHeap< Super, ChunkSize >
Constructor & Destructor Documentation
template<class Super, size_t ChunkSize>
template<class Super, size_t ChunkSize>
Member Function Documentation
template<class Super, size_t ChunkSize>
| static size_t HL::ZoneHeap< Super, ChunkSize >::align |
( |
size_t |
sz |
) |
[inline, static, private] |
template<class Super, size_t ChunkSize>
template<class Super, size_t ChunkSize>
template<class Super, size_t ChunkSize>
Remove in a zone allocator is a no-op.
template<class Super, size_t ChunkSize>
Member Data Documentation
template<class Super, size_t ChunkSize>
template<class Super, size_t ChunkSize>
A linked list of past arenas.
template<class Super, size_t ChunkSize>
Space left in the current arena.
The documentation for this class was generated from the following file: