Inviwo  0.9.10.1
Inviwo documentation
inviwo::util::cloneable_ptr< T > Class Template Reference

#include <cloneableptr.h>

+ Inheritance diagram for inviwo::util::cloneable_ptr< T >:

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
 

Detailed Description

template<typename T>
class inviwo::util::cloneable_ptr< T >

A resource handle for classes that should be cloned on copy and assignment


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