#include <vtkSmartPointer.h>
Inheritance diagram for vtkSmartPointer< T >:
vtkSmartPointer is a class template that provides automatic casting for objects held by the vtkSmartPointerBase superclass.
.h (/Common/vtkSmartPointer
.h)
Definition at line 40 of file vtkSmartPointer.h.
Public Member Functions | |
vtkSmartPointer () | |
vtkSmartPointer (T *r) | |
vtkSmartPointer (const vtkSmartPointerBase &r) | |
vtkSmartPointer & | operator= (T *r) |
vtkSmartPointer & | operator= (const vtkSmartPointerBase &r) |
T * | GetPointer () const |
operator T * () const | |
T & | operator * () const |
T * | operator-> () const |
Static Public Member Functions | |
vtkSmartPointer< T > | New () |
Protected Member Functions | |
vtkSmartPointer (T *r, const NoReference &n) |
|
Initialize smart pointer to NULL. Definition at line 44 of file vtkSmartPointer.h. |
|
Initialize smart pointer to given object. Definition at line 47 of file vtkSmartPointer.h. |
|
Initialize smart pointer with a new reference to the same object referenced by given smart pointer. Definition at line 51 of file vtkSmartPointer.h. |
|
Definition at line 114 of file vtkSmartPointer.h. |
|
Assign object to reference. This removes any reference to an old object. Definition at line 56 of file vtkSmartPointer.h. |
|
Assign object to reference. This removes any reference to an old object. Reimplemented from vtkSmartPointerBase. Definition at line 66 of file vtkSmartPointer.h. |
|
Get the contained pointer. Reimplemented from vtkSmartPointerBase. Definition at line 75 of file vtkSmartPointer.h. |
|
Get the contained pointer. Definition at line 83 of file vtkSmartPointer.h. |
|
Dereference the pointer and return a reference to the contained object. Definition at line 92 of file vtkSmartPointer.h. |
|
Provides normal pointer target member access using operator ->. Definition at line 100 of file vtkSmartPointer.h. |
|
Create an instance of a VTK object. Definition at line 108 of file vtkSmartPointer.h. |