CppUTest Documentation
 All Classes
Public Member Functions | Protected Attributes | List of all members
TestMemoryAllocator Class Reference
Inheritance diagram for TestMemoryAllocator:
CrashOnAllocationAllocator NullUnknownAllocator

Public Member Functions

 TestMemoryAllocator (const char *name_str="generic", const char *alloc_name_str="alloc", const char *free_name_str="free")
 
bool hasBeenDestroyed ()
 
virtual char * alloc_memory (size_t size, const char *file, int line)
 
virtual void free_memory (char *memory, const char *file, int line)
 
virtual const char * name ()
 
virtual const char * alloc_name ()
 
virtual const char * free_name ()
 
virtual bool isOfEqualType (TestMemoryAllocator *allocator)
 
virtual char * allocMemoryLeakNode (size_t size)
 
virtual void freeMemoryLeakNode (char *memory)
 

Protected Attributes

const char * name_
 
const char * alloc_name_
 
const char * free_name_
 
bool hasBeenDestroyed_
 

The documentation for this class was generated from the following file: