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