NeKernel dev
Loading...
Searching...
No Matches
Kernel::Ref< T > Class Template Referencefinal

#include <Ref.h>

Public Member Functions

 Ref ()=default
 ~Ref ()=default
 Ref (T *cls)
 Ref (T cls)
Refoperator= (T ref)
 NE_COPY_DEFAULT (Ref)
operator-> () const
T & Leak () noexcept
T & TryLeak () const noexcept
operator* ()
 operator bool () noexcept

Private Attributes

fClass

Constructor & Destructor Documentation

◆ Ref() [1/3]

template<typename T>
Kernel::Ref< T >::Ref ( )
explicitdefault

◆ ~Ref()

template<typename T>
Kernel::Ref< T >::~Ref ( )
default

◆ Ref() [2/3]

template<typename T>
Kernel::Ref< T >::Ref ( T * cls)
inline

◆ Ref() [3/3]

template<typename T>
Kernel::Ref< T >::Ref ( T cls)
inline

Member Function Documentation

◆ Leak()

template<typename T>
T & Kernel::Ref< T >::Leak ( )
inlinenoexcept

◆ NE_COPY_DEFAULT()

template<typename T>
Kernel::Ref< T >::NE_COPY_DEFAULT ( Ref< T > )

◆ operator bool()

template<typename T>
Kernel::Ref< T >::operator bool ( )
inlinenoexcept

◆ operator*()

template<typename T>
T Kernel::Ref< T >::operator* ( )
inline

◆ operator->()

template<typename T>
T Kernel::Ref< T >::operator-> ( ) const
inline

◆ operator=()

template<typename T>
Ref & Kernel::Ref< T >::operator= ( T ref)
inline

◆ TryLeak()

template<typename T>
T & Kernel::Ref< T >::TryLeak ( ) const
inlinenoexcept

Member Data Documentation

◆ fClass

template<typename T>
T Kernel::Ref< T >::fClass
private

The documentation for this class was generated from the following file: