AAO DRAMA C++ Interface (Old style)
DRAMA C++, Depreciated, don't use for new code
|
A class to check for SDS leaks. More...
#include <sds.h>
Public Member Functions | |
SdsIDChecker (int line, const char *file, const char *function, bool listChanges=false, bool enable=true) | |
Construct an SdsChecker object. | |
virtual | ~SdsIDChecker () |
SdsCheck destructor. | |
void | DecrLeakCount () |
Decrement leak allowance count. | |
int | getLeakAllowance () |
Get leak count. | |
void | IncrLeakCount () |
Increment leak allowance count. | |
void | SetLeakCount (int leaksAllowedCount) |
Set leak allowance count. | |
A class to check for SDS leaks.
Create one of these objects in your and when the destructor is run, it will write a message to stderr if your code has allocated or released a net number of SDS ID's since the constructor was run.
The easiest way to use this via the SDS_CHECK_IDS macro.
Click here for the DRAMA home page and here for the AAO home page.
For more information, contact tony.farrell@mq.edu.au
Generated on Thu Dec 12 2024 23:07:38 for AAO DRAMA C++ Interface (Old style) by 1.9.8