Mako 8.2.0 API
MakoCore SDK API Documentation
Loading...
Searching...
No Matches
shared_ptr< T > Class Template Reference

#include <edl/smartptr.h>

Public Member Functions

 shared_ptr (T *src=NULL, bool bAddref=true)
template<class T1>
 shared_ptr (const shared_ptr< T1 > &src)
 shared_ptr (const shared_ptr< T > &src)
 ~shared_ptr ()
template<class T1>
shared_ptr< T1 > getPtr (T1 *fake) const
template<class T1>
shared_ptr< T > & operator= (const shared_ptr< T1 > &src)
shared_ptr< T > & operator= (const shared_ptr< T > &src)
shared_ptroperator= (T *src)
 operator T* () const
T * operator-> () const
T * get ()

Protected Attributes

T * m_ptr

Constructor & Destructor Documentation

◆ shared_ptr() [1/3]

template<class T>
shared_ptr< T >::shared_ptr ( T * src = NULL,
bool bAddref = true )
inline

◆ shared_ptr() [2/3]

template<class T>
template<class T1>
shared_ptr< T >::shared_ptr ( const shared_ptr< T1 > & src)
inline

◆ shared_ptr() [3/3]

template<class T>
shared_ptr< T >::shared_ptr ( const shared_ptr< T > & src)
inline

◆ ~shared_ptr()

template<class T>
shared_ptr< T >::~shared_ptr ( )
inline

Member Function Documentation

◆ get()

template<class T>
T * shared_ptr< T >::get ( )
inline

◆ getPtr()

template<class T>
template<class T1>
shared_ptr< T1 > shared_ptr< T >::getPtr ( T1 * fake) const
inline

◆ operator T*()

template<class T>
shared_ptr< T >::operator T* ( ) const
inline

◆ operator->()

template<class T>
T * shared_ptr< T >::operator-> ( ) const
inline

◆ operator=() [1/3]

template<class T>
shared_ptr< T > & shared_ptr< T >::operator= ( const shared_ptr< T > & src)
inline

◆ operator=() [2/3]

template<class T>
template<class T1>
shared_ptr< T > & shared_ptr< T >::operator= ( const shared_ptr< T1 > & src)
inline

◆ operator=() [3/3]

template<class T>
shared_ptr & shared_ptr< T >::operator= ( T * src)
inline

Member Data Documentation

◆ m_ptr

template<class T>
T* shared_ptr< T >::m_ptr
protected

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