API Documentation
|
Provides a modifiable pointer that has shared ownership of a dynamically allocated object. More...
#include <Pointer.hpp>
Public Member Functions | |
template<class t_other_type > | |
DynamicPointer< t_other_type > | as () const |
DynamicPointer () | |
DynamicPointer (const DynamicPointer< t_type > &value) noexcept | |
DynamicPointer (DynamicPointer< t_type > &&value) noexcept | |
DynamicPointer (t_type &&value) noexcept | |
DynamicPointer (t_type *value) noexcept | |
constexpr t_type & | get () const |
t_type * | operator-> () const |
DynamicPointer & | operator= (const DynamicPointer &pointer) |
DynamicPointer & | operator= (t_type *pointer) |
constexpr t_type * | rawptr () const |
void | set (t_type &&value) |
Public Member Functions inherited from ConstPointer< t_type > | |
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) |
Friends | |
class | MemoryManager< BufferAllocator< DynamicPointer< t_type >, uint04, false >, t_type > |
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 > | |
Core * | m_core = nullptr |
t_type * | m_object = nullptr |
Provides a modifiable pointer that has shared ownership of a dynamically allocated object.
|
inline |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inline |
|
inlineconstexpr |
|
inline |
|
inline |
|
inline |
|
inlineconstexpr |
|
inline |
|
friend |