USGS

Isis 3.0 Object Programmers' Reference

Home

Isis::ArrayRemoval< T > Struct Template Reference

#include <CollectorMap.h>

List of all members.


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.

Definition at line 159 of file CollectorMap.h.

Protected Member Functions

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


Member Function Documentation

template<typename T>
void Isis::ArrayRemoval< T >::destroy ( T *  element  )  [inline, protected]

Destroys the array of CollectorMaps.

Parameters:
element The array of CollectorMaps to be destroyed

Definition at line 167 of file CollectorMap.h.


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