CppUTest
Public Member Functions | List of all members
DummyMemoryLeakDetector Class Reference
Inheritance diagram for DummyMemoryLeakDetector:
MemoryLeakDetector

Public Member Functions

 DummyMemoryLeakDetector (MemoryLeakFailure *reporter)
 
- Public Member Functions inherited from MemoryLeakDetector
 MemoryLeakDetector (MemoryLeakFailure *reporter)
 
void enable ()
 
void disable ()
 
void disableAllocationTypeChecking ()
 
void enableAllocationTypeChecking ()
 
void startChecking ()
 
void stopChecking ()
 
const char * report (MemLeakPeriod period)
 
void markCheckingPeriodLeaksAsNonCheckingPeriod ()
 
int totalMemoryLeaks (MemLeakPeriod period)
 
void clearAllAccounting (MemLeakPeriod period)
 
char * allocMemory (TestMemoryAllocator *allocator, size_t size, bool allocatNodesSeperately=false)
 
char * allocMemory (TestMemoryAllocator *allocator, size_t size, const char *file, int line, bool allocatNodesSeperately=false)
 
void deallocMemory (TestMemoryAllocator *allocator, void *memory, bool allocatNodesSeperately=false)
 
void deallocMemory (TestMemoryAllocator *allocator, void *memory, const char *file, int line, bool allocatNodesSeperately=false)
 
char * reallocMemory (TestMemoryAllocator *allocator, char *memory, size_t size, const char *file, int line, bool allocatNodesSeperately=false)
 
void invalidateMemory (char *memory)
 
void removeMemoryLeakInformationWithoutCheckingOrDeallocating (void *memory)
 
unsigned getCurrentAllocationNumber ()
 

Additional Inherited Members

- Public Types inherited from MemoryLeakDetector
enum  { memory_corruption_buffer_size = 3 }
 

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