Base Framework
|
Protected pointer. More...
#include <base/mem/ProtectedPointer.h>
Public Member Functions | |
ProtectedPointer (TYPE *_value) | |
ProtectedPointer (const ProtectedPointer ©) noexcept | |
template<class POLY > | |
ProtectedPointer (const ProtectedPointer< POLY > ©) noexcept | |
ProtectedPointer & | operator= (const ProtectedPointer &assign) noexcept |
template<class POLY > | |
ProtectedPointer & | operator= (const ProtectedPointer< POLY > &assign) noexcept |
bool | operator== (const ProtectedPointer &compare) const noexcept |
bool | operator!= (const ProtectedPointer &compare) const noexcept |
TYPE * | operator-> () |
const TYPE * | operator-> () const |
Protected pointer.
Automation pointer which protects the pointer value from direct access. The automation pointer may only be used with valid pointers (i.e. not nullptr).
|
inline |
Initializes the automation pointer.
value | The object pointer to be automated. |
|
inlinenoexcept |
Initialization of automation pointer from other automation pointer.
|
inlinenoexcept |
Initialization of automation pointer from other automation pointer using compile time polymorphism.
|
inlinenoexcept |
Returns true if the pointers are non-equal.
|
inline |
Returns object for modifying access.
|
inline |
Returns object for non-modifying access.
|
inlinenoexcept |
Assignment of automation pointer to this automation pointer.
|
inlinenoexcept |
Assignment of automation pointer to this automation pointer using compile time polymorphism.
|
inlinenoexcept |
Returns true if the pointers are equal.