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

Supplies a NOOP default for removal of a CollectorMap entry. More...

#include <CollectorMap.h>

Inheritance diagram for Isis::NoopRemoval< T >:
Inheritance graph
Collaboration diagram for Isis::NoopRemoval< T >:
Collaboration graph

Protected Member Functions

void destroy (T *element)
 Destroys the CollectorMap entry. More...
 

Detailed Description

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

Supplies a NOOP default for removal of a CollectorMap entry.

This simple declaration is basically a NOOP that implements removal of a CollectionMap entry. It is most useful (and the default behavior) when the storage element of the CollectorMap is anything but a pointer. Pointers that require deletion should use the PointerRemoval policy unless the pointers are owned by another "entity".

Member Function Documentation

◆ destroy()

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

Destroys the CollectorMap entry.

Parameters
elementThe CollectorMap to be destroyed

Referenced by Isis::CollectorMap< int, ErrorCounter >::remove().


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:38