Blender V2.61 - r43446
|
#include <MEM_RefCountPtr.h>
Public Member Functions | |
MEM_RefCountPtr (const MEM_RefCountPtr &rhs) | |
MEM_RefCountPtr (const T *val) | |
MEM_RefCountPtr () | |
operator T * () const | |
MEM_RefCountPtr & | operator= (const MEM_RefCountPtr &rhs) |
T * | operator-> () const |
T & | Ref () |
~MEM_RefCountPtr () |
Definition at line 176 of file MEM_RefCountPtr.h.
MEM_RefCountPtr< T >::MEM_RefCountPtr | ( | const MEM_RefCountPtr< T > & | rhs | ) | [inline] |
Construction from reference - share ownership with the right hand side.
Definition at line 185 of file MEM_RefCountPtr.h.
MEM_RefCountPtr< T >::MEM_RefCountPtr | ( | const T * | val | ) | [inline] |
Construction from ptr - this class shares ownership of object val.
Definition at line 196 of file MEM_RefCountPtr.h.
MEM_RefCountPtr< T >::MEM_RefCountPtr | ( | ) | [inline] |
Default constructor
Definition at line 208 of file MEM_RefCountPtr.h.
MEM_RefCountPtr< T >::~MEM_RefCountPtr | ( | ) | [inline] |
Destructor - deletes object if it's ref count is zero.
Definition at line 260 of file MEM_RefCountPtr.h.
MEM_RefCountPtr< T >::operator T * | ( | ) | const [inline] |
Type conversion from this class to the type of a pointer to the template parameter. This means you can pass an instance of this class to a function expecting a ptr of type T.
Definition at line 221 of file MEM_RefCountPtr.h.
T* MEM_RefCountPtr< T >::operator-> | ( | ) | const [inline] |
Overload the operator -> so that it's possible to access all the normal methods of the internal ptr.
Definition at line 241 of file MEM_RefCountPtr.h.
MEM_RefCountPtr& MEM_RefCountPtr< T >::operator= | ( | const MEM_RefCountPtr< T > & | rhs | ) | [inline] |
Definition at line 226 of file MEM_RefCountPtr.h.
T& MEM_RefCountPtr< T >::Ref | ( | ) | [inline] |
Returrn a reference to the shared object.
Definition at line 250 of file MEM_RefCountPtr.h.