LibreOffice Module vcl (master)  1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
vcl::DeleteOnDeinit< T > Class Template Referencefinal

#include <lazydelete.hxx>

Inheritance diagram for vcl::DeleteOnDeinit< T >:
[legend]
Collaboration diagram for vcl::DeleteOnDeinit< T >:
[legend]

Public Member Functions

 DeleteOnDeinit (T *i_pT)
 
T * get ()
 
std::unique_ptr< T > set (std::unique_ptr< T > i_pNew)
 
- Public Member Functions inherited from vcl::DeleteOnDeinitBase
virtual ~DeleteOnDeinitBase ()
 

Private Member Functions

virtual void doCleanup () override
 

Private Attributes

std::unique_ptr< T > m_pT
 

Additional Inherited Members

- Static Public Member Functions inherited from vcl::DeleteOnDeinitBase
static void SAL_DLLPRIVATE ImplDeleteOnDeInit ()
 
- Static Protected Member Functions inherited from vcl::DeleteOnDeinitBase
static void addDeinitContainer (DeleteOnDeinitBase *i_pContainer)
 

Detailed Description

template<typename T>
class vcl::DeleteOnDeinit< T >

Definition at line 68 of file lazydelete.hxx.

Constructor & Destructor Documentation

template<typename T>
vcl::DeleteOnDeinit< T >::DeleteOnDeinit ( T *  i_pT)
inline

Definition at line 73 of file lazydelete.hxx.

Member Function Documentation

template<typename T>
virtual void vcl::DeleteOnDeinit< T >::doCleanup ( )
inlineoverrideprivatevirtual

Implements vcl::DeleteOnDeinitBase.

Definition at line 71 of file lazydelete.hxx.

template<typename T>
T* vcl::DeleteOnDeinit< T >::get ( )
inline

Definition at line 76 of file lazydelete.hxx.

template<typename T>
std::unique_ptr<T> vcl::DeleteOnDeinit< T >::set ( std::unique_ptr< T >  i_pNew)
inline

Definition at line 80 of file lazydelete.hxx.

Member Data Documentation

template<typename T>
std::unique_ptr<T> vcl::DeleteOnDeinit< T >::m_pT
private

Definition at line 70 of file lazydelete.hxx.


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