#include <Memory.hpp>
Public Member Functions | |
void * | operator new (size_t size) |
void | operator delete (void *obj) |
bool | isValid () const |
Memory () | |
~Memory () | |
Private Types | |
enum | AllocationTag { ALLOCATED = 1234732, DEALLOCATED = 2374321 } |
Private Attributes | |
Memory * | _next |
Memory * | _previous |
AllocationTag | _allocationTag |
const enum ClassID | _id |
Static Private Attributes | |
Memory * | _freeList |
Memory * | _allocated |
int | _allocs |
int | _deallocs |
Friends | |
class | LeakChecker |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|