EntropyEngine::Core::RefObject
EntropyEngine::Core::RefObject
Section titled “EntropyEngine::Core::RefObject”Public Functions
Section titled “Public Functions”| Name | |
|---|---|
| ~RefObject() | |
| void | reset(T * ptr =nullptr) |
| RefObject & | operator=(RefObject && other) |
| RefObject & | operator=(const RefObject & other) |
| template <class U ,class =std::enable_if_t<std::is_base_of_v<T, U>>> RefObject & | operator=(const RefObject< U > & other) |
| template <class U ,class =std::enable_if_t<std::is_base_of_v<T, U>>> RefObject & | operator=(RefObject< U > && other) |
| T * | operator->() const |
| T & | operator*() const |
| operator bool() const | |
| T * | get() const |
| T * | detach() |
| RefObject() =default | |
| RefObject(T * ptr) | |
| RefObject(adopt_t , T * ptr) | |
| RefObject(retain_t , T * ptr) | |
| RefObject(RefObject && other) | |
| RefObject(const RefObject & other) | |
| template <class U ,class =std::enable_if_t<std::is_base_of_v<T, U>>> | RefObject(const RefObject< U > & other) |
| template <class U ,class =std::enable_if_t<std::is_base_of_v<T, U>>> | RefObject(RefObject< U > && other) |
Friends
Section titled “Friends”| Name | |
|---|---|
| void | swap(RefObject & a, RefObject & b) |
| bool | operator==(const RefObject & a, const RefObject & b) |
| bool | operator<(const RefObject & a, const RefObject & b) |
| bool | operator!=(const RefObject & a, const RefObject & b) |
Detailed Description
Section titled “Detailed Description”template <typename T >class EntropyEngine::Core::RefObject;Public Functions Documentation
Section titled “Public Functions Documentation”function ~RefObject
Section titled “function ~RefObject”inline ~RefObject()function reset
Section titled “function reset”inline void reset( T * ptr =nullptr)function operator=
Section titled “function operator=”inline RefObject & operator=( RefObject && other)function operator=
Section titled “function operator=”inline RefObject & operator=( const RefObject & other)function operator=
Section titled “function operator=”template <class U ,class =std::enable_if_t<std::is_base_of_v<T, U>>>inline RefObject & operator=( const RefObject< U > & other)function operator=
Section titled “function operator=”template <class U ,class =std::enable_if_t<std::is_base_of_v<T, U>>>inline RefObject & operator=( RefObject< U > && other)function operator->
Section titled “function operator->”inline T * operator->() constfunction operator*
Section titled “function operator*”inline T & operator*() constfunction operator bool
Section titled “function operator bool”inline explicit operator bool() constfunction get
Section titled “function get”inline T * get() constfunction detach
Section titled “function detach”inline T * detach()function RefObject
Section titled “function RefObject”RefObject() =defaultfunction RefObject
Section titled “function RefObject”inline explicit RefObject( T * ptr)function RefObject
Section titled “function RefObject”inline explicit RefObject( adopt_t , T * ptr)function RefObject
Section titled “function RefObject”inline explicit RefObject( retain_t , T * ptr)function RefObject
Section titled “function RefObject”inline RefObject( RefObject && other)function RefObject
Section titled “function RefObject”inline RefObject( const RefObject & other)function RefObject
Section titled “function RefObject”template <class U ,class =std::enable_if_t<std::is_base_of_v<T, U>>>inline RefObject( const RefObject< U > & other)function RefObject
Section titled “function RefObject”template <class U ,class =std::enable_if_t<std::is_base_of_v<T, U>>>inline RefObject( RefObject< U > && other)Friends
Section titled “Friends”friend swap
Section titled “friend swap”friend void swap( RefObject & a,
RefObject & b);friend operator==
Section titled “friend operator==”friend bool operator==( const RefObject & a,
const RefObject & b);friend operator<
Section titled “friend operator<”friend bool operator<( const RefObject & a,
const RefObject & b);friend operator!=
Section titled “friend operator!=”friend bool operator!=( const RefObject & a,
const RefObject & b);Updated on 2026-01-26 at 17:14:35 -0500