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: