#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 44 of file vtkSmartPointer.h.
Public Methods | |
vtkSmartPointer () | |
vtkSmartPointer (T *r) | |
vtkSmartPointer (const vtkSmartPointerBase &r) | |
vtkSmartPointer & | operator= (T *r) |
vtkSmartPointer & | operator= (const vtkSmartPointerBase &r) |
T * | GetPointer () const |
T & | operator * () const |
T * | operator-> () const |
|
Initialize smart pointer to NULL. Definition at line 48 of file vtkSmartPointer.h. |
|
Initialize smart pointer to given object. Definition at line 51 of file vtkSmartPointer.h. |
|
Initialize smart pointer with a new reference to the same object referenced by given smart pointer. Definition at line 55 of file vtkSmartPointer.h. |
|
Assign object to reference. This removes any reference to an old object. Definition at line 60 of file vtkSmartPointer.h. References vtkSmartPointerBase::operator=(). |
|
Assign object to reference. This removes any reference to an old object. Reimplemented from vtkSmartPointerBase. Definition at line 70 of file vtkSmartPointer.h. References vtkSmartPointerBase::operator=(). |
|
Get the contained pointer. Reimplemented from vtkSmartPointerBase. Definition at line 79 of file vtkSmartPointer.h. References vtkSmartPointerBase::Object. |
|
Dereference the pointer and return a reference to the contained object. Definition at line 88 of file vtkSmartPointer.h. References vtkSmartPointerBase::Object. |
|
Provides normal pointer target member access using operator->. Definition at line 96 of file vtkSmartPointer.h. References vtkSmartPointerBase::Object. |