SimpleITK  
itk::simple::ProcessObjectDeleter Struct Reference

Enable automatic reference removal of itk::LightObject pointers to be used with STL smart pointers. More...

#include <sitkProcessObjectDeleter.h>

Detailed Description

Enable automatic reference removal of itk::LightObject pointers to be used with STL smart pointers.

This class is used to remove a reference to ITK LightObjects when they are no longer needed. It is typically used with std::unique_ptr or std::shared_ptr to manage the lifetime of ITK objects in SimpleITK.

Definition at line 38 of file sitkProcessObjectDeleter.h.

Public Member Functions

void operator() (itk::LightObject *ptr) const
 

Member Function Documentation

◆ operator()()

void itk::simple::ProcessObjectDeleter::operator() ( itk::LightObject * ptr) const

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