Isis Developer Reference
Isis::ArrayRemoval< T > Struct Template Reference

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

#include <CollectorMap.h>

Collaboration diagram for Isis::ArrayRemoval< T >:
Collaboration graph

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

◆ destroy()

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: