Isis 3.0
Back | Home
Isis::ArrayRemoval< T > Struct Template Reference

Policy for deleting arrays that CollectorMap owns. More...

#include <CollectorMap.h>

Protected Member Functions

void destroy (T *element)
 Destroys the array of CollectorMaps. More...
 

Detailed Description

template<typename T>
struct Isis::ArrayRemoval< T >

Policy for deleting arrays that CollectorMap owns.

Defines a method to delete arrays when removed from a CollectorMap. This is necessary to prevent memory leaks and defer the deletion to removal from CollectorMap class.

Member Function Documentation

template<typename T >
void Isis::ArrayRemoval< T >::destroy ( T *  element)
inlineprotected

Destroys the array of CollectorMaps.

Parameters
elementThe array of CollectorMaps to be destroyed

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

U.S. Department of the Interior | U.S. Geological Survey
ISIS | Privacy & Disclaimers | Astrogeology Research Program
To contact us, please post comments and questions on the ISIS Support Center
File Modified: 07/13/2023 00:05:27