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

namespace  vcl
 
namespace  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

◆ operator!=() [1/5]

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

Definition at line 261 of file vclptr.hxx.

◆ operator!=() [2/5]

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

Definition at line 256 of file vclptr.hxx.

◆ operator!=() [3/5]

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

Definition at line 252 of file vclptr.hxx.

◆ operator!=() [4/5]

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

Definition at line 247 of file vclptr.hxx.

◆ operator!=() [5/5]

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

Definition at line 243 of file vclptr.hxx.

◆ operator==() [1/5]

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

Definition at line 238 of file vclptr.hxx.

References VclPtr< reference_type >::get().

◆ operator==() [2/5]

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

Definition at line 233 of file vclptr.hxx.

References VclPtr< reference_type >::get().

◆ operator==() [3/5]

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

Definition at line 229 of file vclptr.hxx.

References VclPtr< reference_type >::get().

◆ operator==() [4/5]

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

Definition at line 224 of file vclptr.hxx.

References VclPtr< reference_type >::get().

◆ operator==() [5/5]

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

Definition at line 220 of file vclptr.hxx.

References VclPtr< reference_type >::get().