suanPan
Loading...
Searching...
No Matches
ResourceHolder< T > Class Template Referencefinal

#include <ResourceHolder.h>

Collaboration diagram for ResourceHolder< T >:

Public Member Functions

 ResourceHolder ()=default
 
ResourceHolderoperator= (const std::shared_ptr< T > &original_object)
 
 ResourceHolder (const ResourceHolder &old_holder)
 
 ResourceHolder (ResourceHolder &&) noexcept=delete
 
ResourceHolderoperator= (const ResourceHolder &)=delete
 
ResourceHolderoperator= (ResourceHolder &&) noexcept=delete
 
 ~ResourceHolder ()=default
 
Toperator-> () const
 
 operator bool () const
 

Detailed Description

template<typename T>
class ResourceHolder< T >
Author
tlc
Date
15/02/2023

Constructor & Destructor Documentation

◆ ResourceHolder() [1/3]

template<typename T >
ResourceHolder< T >::ResourceHolder ( )
default

◆ ResourceHolder() [2/3]

template<typename T >
ResourceHolder< T >::ResourceHolder ( const ResourceHolder< T > &  old_holder)
inline

◆ ResourceHolder() [3/3]

template<typename T >
ResourceHolder< T >::ResourceHolder ( ResourceHolder< T > &&  )
deletenoexcept

◆ ~ResourceHolder()

template<typename T >
ResourceHolder< T >::~ResourceHolder ( )
default

Member Function Documentation

◆ operator bool()

template<typename T >
ResourceHolder< T >::operator bool ( ) const
inlineexplicit

◆ operator->()

template<typename T >
T * ResourceHolder< T >::operator-> ( ) const
inline

◆ operator=() [1/3]

template<typename T >
ResourceHolder & ResourceHolder< T >::operator= ( const ResourceHolder< T > &  )
delete

◆ operator=() [2/3]

template<typename T >
ResourceHolder & ResourceHolder< T >::operator= ( const std::shared_ptr< T > &  original_object)
inline

◆ operator=() [3/3]

template<typename T >
ResourceHolder & ResourceHolder< T >::operator= ( ResourceHolder< T > &&  )
deletenoexcept

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