Isis 3.0 Developer's Reference (API) |
Home |
Supplies a policy for deleting pointers that CollectorMap owns. More...
#include <CollectorMap.h>
Protected Member Functions | |
void | destroy (T *element) |
Destroys the CollectorMap pointer's CollectorMap. |
Supplies a policy for deleting pointers that CollectorMap owns.
Defines a method to delete pointers when removed from a CollectorMap. This is necessary to prevent memory leaks and defer the deletion to removal from CollectorMap class.
void Isis::PointerRemoval< T >::destroy | ( | T * | element | ) | [inline, protected] |
Destroys the CollectorMap pointer's CollectorMap.
element | The pointer pointing to the CollectorMap to be destroyed |