BeeeOn Gateway
v2020.3.1-2-g6f737dc
Platform to interconnect the IoT world
|
#include <UnsafePtr.h>
Public Member Functions | |
UnsafePtr (T *p) | |
UnsafePtr (const UnsafePtr &ptr) | |
template<typename Other > | |
UnsafePtr (const UnsafePtr< Other > &ptr) | |
void | clear () |
UnsafePtr & | assign (T *p) |
UnsafePtr & | assign (const UnsafePtr &p) |
template<typename Other > | |
UnsafePtr & | assign (const UnsafePtr< Other > &p) |
UnsafePtr & | operator= (T *p) |
UnsafePtr & | operator= (const UnsafePtr &p) |
template<typename Other > | |
UnsafePtr & | operator= (const UnsafePtr< Other > &p) |
void | swap (UnsafePtr &p) |
template<typename Other > | |
UnsafePtr< Other > | cast () const |
template<typename Other > | |
UnsafePtr< Other > | unsafeCast () const |
T * | operator-> () |
const T * | operator-> () const |
T & | operator* () |
const T & | operator* () const |
T * | get () |
const T * | get () const |
operator T * () | |
operator const T * () const | |
bool | isNull () const |
bool | operator! () const |
bool | operator== (const UnsafePtr &p) const |
bool | operator== (const T *p) const |
bool | operator== (T *p) const |
bool | operator!= (const UnsafePtr &p) const |
bool | operator!= (const T *p) const |
bool | operator!= (T *p) const |
bool | operator< (const UnsafePtr &p) const |
bool | operator< (const T *p) const |
bool | operator< (T *p) const |
bool | operator<= (const UnsafePtr &p) const |
bool | operator<= (const T *p) const |
bool | operator<= (T *p) const |
bool | operator> (const UnsafePtr &p) const |
bool | operator> (const T *p) const |
bool | operator> (T *p) const |
bool | operator>= (const UnsafePtr &p) const |
bool | operator>= (const T *p) const |
bool | operator>= (T *p) const |
Protected Member Functions | |
T * | deref () const |
Wrapper around plain pointers to avoid null-pointer access faults. It does NOT free the owning pointer.