Skip to content

EntropyEngine::Core::RefObject

More…

Name
~RefObject()
voidreset(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)
Name
voidswap(RefObject & a, RefObject & b)
booloperator==(const RefObject & a, const RefObject & b)
booloperator<(const RefObject & a, const RefObject & b)
booloperator!=(const RefObject & a, const RefObject & b)
template <typename T >
class EntropyEngine::Core::RefObject;
inline ~RefObject()
inline void reset(
T * ptr =nullptr
)
inline RefObject & operator=(
RefObject && other
)
inline RefObject & operator=(
const RefObject & other
)
template <class U ,
class =std::enable_if_t<std::is_base_of_v<T, U>>>
inline RefObject & operator=(
const RefObject< U > & other
)
template <class U ,
class =std::enable_if_t<std::is_base_of_v<T, U>>>
inline RefObject & operator=(
RefObject< U > && other
)
inline T * operator->() const
inline T & operator*() const
inline explicit operator bool() const
inline T * get() const
inline T * detach()
RefObject() =default
inline explicit RefObject(
T * ptr
)
inline explicit RefObject(
adopt_t ,
T * ptr
)
inline explicit RefObject(
retain_t ,
T * ptr
)
inline RefObject(
RefObject && other
)
inline RefObject(
const RefObject & other
)
template <class U ,
class =std::enable_if_t<std::is_base_of_v<T, U>>>
inline RefObject(
const RefObject< U > & other
)
template <class U ,
class =std::enable_if_t<std::is_base_of_v<T, U>>>
inline RefObject(
RefObject< U > && other
)
friend void swap(
RefObject & a,
RefObject & b
);
friend bool operator==(
const RefObject & a,
const RefObject & b
);
friend bool operator<(
const RefObject & a,
const RefObject & b
);
friend bool operator!=(
const RefObject & a,
const RefObject & b
);

Updated on 2026-01-26 at 17:14:35 -0500