LibreOffice Module vcl (master)  1
Classes | Namespaces | Functions
vclptr.hxx File Reference
#include <sal/config.h>
#include <rtl/ref.hxx>
#include <utility>
#include <type_traits>
#include <vcl/vclmain.hxx>
Include dependency graph for vclptr.hxx:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  VclPtr< reference_type >
 A thin wrapper around rtl::Reference to implement the acquire and dispose semantics we want for references to vcl::Window subclasses. More...
 
class  VclPtrInstance< reference_type >
 A construction helper for a temporary VclPtr. More...
 
class  ScopedVclPtr< reference_type >
 
class  ScopedVclPtrInstance< reference_type >
 A construction helper for ScopedVclPtr. More...
 

Namespaces

 vcl
 
 vcl::detail
 

Functions

template<typename >
constexpr bool vcl::detail::isIncompleteOrDerivedFromVclReferenceBase (...)
 
template<typename T >
constexpr bool vcl::detail::isIncompleteOrDerivedFromVclReferenceBase (int(*)[sizeof(T)])
 
template<typename T1 , typename T2 >
bool operator== (VclPtr< T1 > const &p1, VclPtr< T2 > const &p2)
 
template<typename T >
bool operator== (VclPtr< T > const &p1, T const *p2)
 
template<typename T >
bool operator== (VclPtr< T > const &p1, T *p2)
 
template<typename T >
bool operator== (T const *p1, VclPtr< T > const &p2)
 
template<typename T >
bool operator== (T *p1, VclPtr< T > const &p2)
 
template<typename T1 , typename T2 >
bool operator!= (VclPtr< T1 > const &p1, VclPtr< T2 > const &p2)
 
template<typename T >
bool operator!= (VclPtr< T > const &p1, T const *p2)
 
template<typename T >
bool operator!= (VclPtr< T > const &p1, T *p2)
 
template<typename T >
bool operator!= (T const *p1, VclPtr< T > const &p2)
 
template<typename T >
bool operator!= (T *p1, VclPtr< T > const &p2)
 

Function Documentation

template<typename T1 , typename T2 >
bool operator!= ( VclPtr< T1 > const &  p1,
VclPtr< T2 > const &  p2 
)
inline

Definition at line 242 of file vclptr.hxx.

template<typename T >
bool operator!= ( VclPtr< T > const &  p1,
T const *  p2 
)
inline

Definition at line 246 of file vclptr.hxx.

template<typename T >
bool operator!= ( VclPtr< T > const &  p1,
T *  p2 
)
inline

Definition at line 251 of file vclptr.hxx.

template<typename T >
bool operator!= ( T const *  p1,
VclPtr< T > const &  p2 
)
inline

Definition at line 255 of file vclptr.hxx.

template<typename T >
bool operator!= ( T *  p1,
VclPtr< T > const &  p2 
)
inline

Definition at line 260 of file vclptr.hxx.

template<typename T1 , typename T2 >
bool operator== ( VclPtr< T1 > const &  p1,
VclPtr< T2 > const &  p2 
)
inline

Definition at line 219 of file vclptr.hxx.

References VclPtr< reference_type >::get().

template<typename T >
bool operator== ( VclPtr< T > const &  p1,
T const *  p2 
)
inline

Definition at line 223 of file vclptr.hxx.

References VclPtr< reference_type >::get().

template<typename T >
bool operator== ( VclPtr< T > const &  p1,
T *  p2 
)
inline

Definition at line 228 of file vclptr.hxx.

References VclPtr< reference_type >::get().

template<typename T >
bool operator== ( T const *  p1,
VclPtr< T > const &  p2 
)
inline

Definition at line 232 of file vclptr.hxx.

References VclPtr< reference_type >::get().

template<typename T >
bool operator== ( T *  p1,
VclPtr< T > const &  p2 
)
inline

Definition at line 237 of file vclptr.hxx.

References VclPtr< reference_type >::get().