LibreOffice Module comphelper (master)  1
Classes | Public Member Functions | Private Member Functions | Private Attributes | List of all members
comphelper::unique_disposing_ptr< T > Class Template Reference

#include <unique_disposing_ptr.hxx>

Inheritance diagram for comphelper::unique_disposing_ptr< T >:
[legend]

Classes

class  TerminateListener
 

Public Member Functions

 unique_disposing_ptr (const css::uno::Reference< css::lang::XComponent > &rComponent, T *p=nullptr, bool bComponent=false)
 
virtual void reset (T *p=nullptr)
 
T & operator* () const
 
T * get () const
 
T * operator-> () const
 
 operator bool () const
 
virtual ~unique_disposing_ptr () COVERITY_NOEXCEPT_FALSE
 

Private Member Functions

 unique_disposing_ptr (const unique_disposing_ptr &)=delete
 
unique_disposing_ptroperator= (const unique_disposing_ptr &)=delete
 

Private Attributes

std::unique_ptr< T, o3tl::default_delete< T > > m_xItem
 
css::uno::Reference< css::frame::XTerminateListener > m_xTerminateListener
 

Detailed Description

template<class T>
class comphelper::unique_disposing_ptr< T >

Definition at line 26 of file unique_disposing_ptr.hxx.

Constructor & Destructor Documentation

template<class T>
comphelper::unique_disposing_ptr< T >::unique_disposing_ptr ( const unique_disposing_ptr< T > &  )
privatedelete
template<class T>
comphelper::unique_disposing_ptr< T >::unique_disposing_ptr ( const css::uno::Reference< css::lang::XComponent > &  rComponent,
T *  p = nullptr,
bool  bComponent = false 
)
inline

Definition at line 35 of file unique_disposing_ptr.hxx.

template<class T>
virtual comphelper::unique_disposing_ptr< T >::~unique_disposing_ptr ( )
inlinevirtual

Member Function Documentation

template<class T>
T* comphelper::unique_disposing_ptr< T >::get ( ) const
inline

Definition at line 51 of file unique_disposing_ptr.hxx.

template<class T>
comphelper::unique_disposing_ptr< T >::operator bool ( ) const
inline
template<class T>
T& comphelper::unique_disposing_ptr< T >::operator* ( ) const
inline
template<class T>
T* comphelper::unique_disposing_ptr< T >::operator-> ( ) const
inline

Definition at line 56 of file unique_disposing_ptr.hxx.

template<class T>
unique_disposing_ptr& comphelper::unique_disposing_ptr< T >::operator= ( const unique_disposing_ptr< T > &  )
privatedelete
template<class T>
virtual void comphelper::unique_disposing_ptr< T >::reset ( T *  p = nullptr)
inlinevirtual

Member Data Documentation

template<class T>
std::unique_ptr<T, o3tl::default_delete<T> > comphelper::unique_disposing_ptr< T >::m_xItem
private
template<class T>
css::uno::Reference< css::frame::XTerminateListener> comphelper::unique_disposing_ptr< T >::m_xTerminateListener
private

Definition at line 30 of file unique_disposing_ptr.hxx.


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