#include <vtkSmartPointerBase.h>
Inheritance diagram for vtkSmartPointerBase:
vtkSmartPointerBase holds a pointer to a vtkObjectBase or subclass instance and performs one Register/UnRegister pair. This is useful for storing VTK objects in STL containers. This class is not intended to be used directly. Instead, use the vtkSmartPointer class template to automatically perform proper cast operations.
Definition at line 41 of file vtkSmartPointerBase.h.
Public Member Functions | |
vtkSmartPointerBase () | |
vtkSmartPointerBase (vtkObjectBase *r) | |
vtkSmartPointerBase (const vtkSmartPointerBase &r) | |
~vtkSmartPointerBase () | |
vtkSmartPointerBase & | operator= (vtkObjectBase *r) |
vtkSmartPointerBase & | operator= (const vtkSmartPointerBase &r) |
vtkObjectBase * | GetPointer () const |
operator SafeBool () | |
SafeBool | operator! () |
Protected Member Functions | |
vtkSmartPointerBase (vtkObjectBase *r, const NoReference &) | |
Protected Attributes | |
vtkObjectBase * | Object |
|
Initialize smart pointer to NULL. |
|
Initialize smart pointer to given object. |
|
Initialize smart pointer with a new reference to the same object referenced by given smart pointer. |
|
Destroy smart pointer and remove the reference to its object. |
|
|
|
Assign object to reference. This removes any reference to an old object. Referenced by vtkSmartPointer< vtkDataObject >::operator=(). |
|
Assign object to reference. This removes any reference to an old object. Reimplemented in vtkSmartPointer< T >, and vtkSmartPointer< vtkDataObject >. |
|
Get the contained pointer. Reimplemented in vtkSmartPointer< T >, and vtkSmartPointer< vtkDataObject >. Definition at line 69 of file vtkSmartPointerBase.h. |
|
Return true if pointer is set to non-null. Definition at line 79 of file vtkSmartPointerBase.h. |
|
Return true if pointer is set to null. Definition at line 87 of file vtkSmartPointerBase.h. |
|
Definition at line 101 of file vtkSmartPointerBase.h. |