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

template<class... Args>
 DeleteOnDeinit (Args &&...args)
 
 DeleteOnDeinit (DeleteOnDeinitFlag)
 
T * get ()
 
template<class... Args>
std::optional< T > set (Args &&...args)
 
- Public Member Functions inherited from vcl::DeleteOnDeinitBase
virtual ~DeleteOnDeinitBase ()
 

Private Member Functions

virtual void doCleanup () override
 

Private Attributes

std::optional< 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 70 of file lazydelete.hxx.

Constructor & Destructor Documentation

template<typename T>
template<class... Args>
vcl::DeleteOnDeinit< T >::DeleteOnDeinit ( Args &&...  args)
inline

Definition at line 76 of file lazydelete.hxx.

template<typename T>
vcl::DeleteOnDeinit< T >::DeleteOnDeinit ( DeleteOnDeinitFlag  )
inline

Definition at line 81 of file lazydelete.hxx.

Member Function Documentation

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

Implements vcl::DeleteOnDeinitBase.

Definition at line 73 of file lazydelete.hxx.

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

Definition at line 87 of file lazydelete.hxx.

Referenced by OutputDevice::DrawWaveLine().

template<typename T>
template<class... Args>
std::optional<T> vcl::DeleteOnDeinit< T >::set ( Args &&...  args)
inline

Definition at line 92 of file lazydelete.hxx.

Member Data Documentation

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

Definition at line 72 of file lazydelete.hxx.


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