#include <lktidier.h>
Public Methods | |
| LookArrayTidier (tBody *theThing) | |
| Constructor. More... | |
| ~LookArrayTidier () | |
| Destructor. More... | |
| void | Release (void) |
| Release. More... | |
Protected Attributes | |
| tBody* | itsThing |
| Pointer to the array we will delete. | |
Much like LookTidier.
(Why isn't there one in the standard library?)
|
||||
|
Constructor. The tidier takes responsibility for deleting theThing, which must be an array on the heap. (allocated via new[]).
|
|
||||
|
Destructor. If it still has itsThing, it delete[]s it. |
|
||||
|
Release. Throw away our pointer to itsThing, thus relinquishing responsibility for deleting it. |
1.2.8.1 written by Dimitri van Heesch,
© 1997-2001