|
kDB: Knowledge DataBase
|
#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) |
| ConstExplicitlySharedDataPointer & | operator= (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) |
This class can be used to hold a class that inherits from QSharedData as a smart pointer.