Official websites use .gov
A .gov website belongs to an official government organization in the United States.

Secure .gov websites use HTTPS
A lock ( ) or https:// means you’ve safely connected to the .gov website. Share sensitive information only on official, secure websites.

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.
 

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, int >::remove().


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