#include <forwardref.h>
Public Types | |
using | IsForwardRef = T |
Public Member Functions | |
ForwardRef ()=default | |
MAXON_IMPLICIT | ForwardRef (const T &t) |
MAXON_IMPLICIT | ForwardRef (T &&t) |
ForwardRef (const ObjectInterface *ptr) | |
ForwardRef & | operator= (const T &t) |
ForwardRef & | operator= (T &&t) |
ForwardRef & | operator= (std::nullptr_t) |
operator T () && | |
operator Bool () const | |
const T & | Get () const |
T & | Get () |
HashInt | GetHashCode () const |
Bool | operator== (const ForwardRef &other) const |
Bool | operator!= (const ForwardRef &other) const |
Bool | operator== (std::nullptr_t) const |
Bool | operator!= (std::nullptr_t) const |
const ObjectInterface * | GetPointer () const |
Private Types | |
using | GenericRef = StrongRef< const ObjectInterface > |
Private Attributes | |
GenericRef | _value |
using IsForwardRef = T |
|
private |
|
default |
MAXON_IMPLICIT ForwardRef | ( | const T & | t | ) |
MAXON_IMPLICIT ForwardRef | ( | T && | t | ) |
|
explicit |
ForwardRef& operator= | ( | const T & | t | ) |
ForwardRef& operator= | ( | T && | t | ) |
ForwardRef& operator= | ( | std::nullptr_t | ) |
operator T | ( | ) | && |
|
explicit |
const T& Get | ( | ) | const |
T& Get | ( | ) |
HashInt GetHashCode | ( | ) | const |
Bool operator== | ( | const ForwardRef< T > & | other | ) | const |
Bool operator!= | ( | const ForwardRef< T > & | other | ) | const |
Bool operator== | ( | std::nullptr_t | ) | const |
Bool operator!= | ( | std::nullptr_t | ) | const |
const ObjectInterface* GetPointer | ( | ) | const |
|
private |