kDB: Knowledge DataBase
Loading...
Searching...
No Matches
knowCore::ConstExplicitlySharedDataPointer< T > Class Template Reference

#include <ConstExplicitlySharedDataPointer.h>

Public Types

typedef T Type
 
typedef T * pointer
 

Public Member Functions

const T & operator* () const
 
const T * operator-> () const
 
 operator bool () const
 
const T * data () const
 
const T * constData () const
 
bool operator== (const ConstExplicitlySharedDataPointer< T > &other) const
 
bool operator!= (const ConstExplicitlySharedDataPointer< T > &other) const
 
 ConstExplicitlySharedDataPointer (const T *data)
 
 ConstExplicitlySharedDataPointer (const ConstExplicitlySharedDataPointer &o)
 
template<typename _T2_ >
requires (std::is_convertible_v<_T2_*, T*>)
 ConstExplicitlySharedDataPointer (const ConstExplicitlySharedDataPointer< _T2_ > &o)
 
 ConstExplicitlySharedDataPointer (const QExplicitlySharedDataPointer< T > &o)
 
ConstExplicitlySharedDataPointer< T > & operator= (const ConstExplicitlySharedDataPointer< T > &o)
 
ConstExplicitlySharedDataPointeroperator= (T *o)
 
template<typename _T2_ >
requires (std::is_convertible_v<_T2_*, T*>)
ConstExplicitlySharedDataPointer< _T2_ > d_cast () const
 
template<typename _T2_ >
requires (std::is_convertible_v<_T2_*, T*>)
ConstExplicitlySharedDataPointer< _T2_ > s_cast () const
 
bool operator! () const
 
void swap (ConstExplicitlySharedDataPointer &other)
 

Detailed Description

template<class T>
class knowCore::ConstExplicitlySharedDataPointer< T >

This class can be used to hold a class that inherits from QSharedData as a smart pointer.


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