NVBIO
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Methods | List of all members
mgpu::intrusive_ptr< T > Class Template Reference

Detailed description

template< typename T>
class mgpu::intrusive_ptr< T >

Definition at line 87 of file util.h.

#include <util.h>

Public Methods

 intrusive_ptr ()
 
 intrusive_ptr (T *p)
 
 intrusive_ptr (const intrusive_ptr< T > &rhs)
 
 ~intrusive_ptr ()
 
intrusive_ptroperator= (const intrusive_ptr &rhs)
 
void reset (T *p=0)
 
T * release ()
 
T * get () const
 
 operator T * () const
 
T * operator-> () const
 
void swap (intrusive_ptr &rhs)
 

Constructor & Destructor Documentation

template<typename T>
mgpu::intrusive_ptr< T >::intrusive_ptr ( )
inline

Definition at line 89 of file util.h.

template<typename T>
mgpu::intrusive_ptr< T >::intrusive_ptr ( T *  p)
inlineexplicit

Definition at line 90 of file util.h.

template<typename T>
mgpu::intrusive_ptr< T >::intrusive_ptr ( const intrusive_ptr< T > &  rhs)
inline

Definition at line 93 of file util.h.

template<typename T>
mgpu::intrusive_ptr< T >::~intrusive_ptr ( )
inline

Definition at line 96 of file util.h.

Member Function Documentation

template<typename T>
T* mgpu::intrusive_ptr< T >::get ( ) const
inline

Definition at line 113 of file util.h.

template<typename T>
mgpu::intrusive_ptr< T >::operator T * ( ) const
inline

Definition at line 114 of file util.h.

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

Definition at line 115 of file util.h.

template<typename T>
intrusive_ptr& mgpu::intrusive_ptr< T >::operator= ( const intrusive_ptr< T > &  rhs)
inline

Definition at line 99 of file util.h.

template<typename T>
T* mgpu::intrusive_ptr< T >::release ( )
inline

Definition at line 107 of file util.h.

template<typename T>
void mgpu::intrusive_ptr< T >::reset ( T *  p = 0)
inline

Definition at line 104 of file util.h.

template<typename T>
void mgpu::intrusive_ptr< T >::swap ( intrusive_ptr< T > &  rhs)
inline

Definition at line 117 of file util.h.


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