File failed to load: https://isis.astrogeology.usgs.gov/6.0.0/Object/assets/jax/output/NativeMML/config.js
Isis Developer Reference
Isis::PointerRemoval< T > Struct Template Reference

Supplies a policy for deleting pointers that CollectorMap owns. More...

#include <CollectorMap.h>

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

Protected Member Functions

void destroy (T *element)
 Destroys the CollectorMap pointer's CollectorMap. More...
 

Detailed Description

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

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.

Member Function Documentation

◆ destroy()

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

Destroys the CollectorMap pointer's CollectorMap.

Parameters
elementThe pointer pointing to the CollectorMap 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 USGS Astrogeology Discussion Board
To report a bug, or suggest a feature go to: ISIS Github
File Modified: 03/21/2022 06:55:39