casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Attributes | List of all members
casacore::CountedPtr< T >::Deleter< T > Class Template Reference

Helper class to make deletion of object optional. More...

#include <CountedPtr.h>

Public Member Functions

 Deleter (Bool deleteIt)
 
void operator() (T *data) const
 

Private Attributes

Bool reallyDeleteIt_p
 

Detailed Description

template<class T>
template<typename T>
class casacore::CountedPtr< T >::Deleter< T >

Helper class to make deletion of object optional.

Definition at line 86 of file CountedPtr.h.

Constructor & Destructor Documentation

template<class T>
template<typename T >
casacore::CountedPtr< T >::Deleter< T >::Deleter ( Bool  deleteIt)
inline

Definition at line 88 of file CountedPtr.h.

Member Function Documentation

template<class T>
template<typename T >
void casacore::CountedPtr< T >::Deleter< T >::operator() ( T *  data) const
inline

Member Data Documentation

template<class T>
template<typename T >
Bool casacore::CountedPtr< T >::Deleter< T >::reallyDeleteIt_p
private

Definition at line 91 of file CountedPtr.h.

Referenced by casacore::CountedPtr< T >::Deleter< T >::operator()().


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