Inviwo 0.9.12-pre
Inviwo documentation
|
#include <cloneableptr.h>
Public Member Functions | |
cloneable_ptr (T *ptr) | |
cloneable_ptr (std::unique_ptr< T > &&ptr) | |
cloneable_ptr (const cloneable_ptr< T > &rhs) | |
cloneable_ptr< T > & | operator= (const cloneable_ptr< T > &that) |
cloneable_ptr (cloneable_ptr< T > &&rhs) | |
cloneable_ptr< T > & | operator= (cloneable_ptr< T > &&that) |
void | reset (T *ptr=nullptr) |
T * | get () const |
std::add_lvalue_reference< T >::type | operator* () const |
T * | operator-> () const |
operator bool () const | |
A resource handle for classes that should be cloned on copy and assignment