CppUTest
Public Member Functions | Protected Attributes | List of all members
MemoryReportAllocator Class Reference
Inheritance diagram for MemoryReportAllocator:
TestMemoryAllocator

Public Member Functions

virtual void setFormatter (MemoryReportFormatter *formatter)
 
virtual void setTestResult (TestResult *result)
 
virtual void setRealAllocator (TestMemoryAllocator *allocator)
 
virtual TestMemoryAllocatorgetRealAllocator ()
 
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 ()
 
- Public Member Functions inherited from TestMemoryAllocator
 TestMemoryAllocator (const char *name_str="generic", const char *alloc_name_str="alloc", const char *free_name_str="free")
 
bool hasBeenDestroyed ()
 
virtual bool isOfEqualType (TestMemoryAllocator *allocator)
 
virtual char * allocMemoryLeakNode (size_t size)
 
virtual void freeMemoryLeakNode (char *memory)
 

Protected Attributes

TestResultresult_
 
TestMemoryAllocatorrealAllocator_
 
MemoryReportFormatterformatter_
 
- Protected Attributes inherited from TestMemoryAllocator
const char * name_
 
const char * alloc_name_
 
const char * free_name_
 
bool hasBeenDestroyed_
 

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