API Documentation
|
Provides a constant, unmodifiable pointer that has shared ownership of a dynamically allocated object. More...
#include <Pointer.hpp>
Public Member Functions | |
template<class t_other_type > | |
ConstPointer< t_other_type > | as () const |
ConstPointer () | |
ConstPointer (const Pointer< t_type > &value) noexcept | |
ConstPointer (const t_type *value) noexcept | |
ConstPointer (t_type &&value) noexcept | |
const t_type & | get () const |
const t_type * | operator-> () const |
ConstPointer< t_type > & | operator= (const Pointer< t_type > &pointer) noexcept |
ConstPointer< t_type > & | operator= (t_type *pointer) |
constexpr const t_type * | rawptr () const |
void | set (t_type &&value) noexcept |
Public Member Functions inherited from Pointer< t_type > | |
bool | isNull () const |
bool | operator!= (const Pointer< t_type > &pointer) const |
bool | operator== (const Pointer< t_type > &pointer) const |
uint04 | referenceCount () const |
void | setToNull () |
void | swap (Pointer< t_type > &pointer) |
Additional Inherited Members | |
Protected Member Functions inherited from Pointer< t_type > | |
t_type & | get () const |
Pointer & | operator= (const Pointer &pointer) |
Pointer & | operator= (t_type *pointer) |
Pointer () noexcept | |
Pointer (const Pointer< t_type > &value) noexcept | |
Pointer (t_type &&value) noexcept | |
Pointer (t_type *value) noexcept | |
constexpr t_type * | rawptr () const |
void | set (t_type &&value) |
~Pointer () | |
Protected Attributes inherited from Pointer< t_type > | |
PointerCore * | m_core = nullptr |
t_type * | m_object = nullptr |
Provides a constant, unmodifiable pointer that has shared ownership of a dynamically allocated object.
Weaker overall logic (Cannot detect circular references) but faster.
|
inline |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inline |
|
inline |
|
inline |
|
inlinenoexcept |
|
inline |
|
inlineconstexpr |
|
inlinenoexcept |