Non-templated superclass for vtkWeakPointer.
More...
#include <vtkWeakPointerBase.h>
Non-templated superclass for vtkWeakPointer.
vtkWeakPointerBase holds a pointer to a vtkObjectBase or subclass instance, but it never affects the reference count of the vtkObjectBase. However, when the vtkObjectBase referred to is destroyed, the pointer gets initialized to nullptr, thus avoid dangling references.
Definition at line 33 of file vtkWeakPointerBase.h.
◆ vtkWeakPointerBase() [1/5]
vtkWeakPointerBase::vtkWeakPointerBase |
( |
| ) |
|
|
inlinenoexcept |
◆ vtkWeakPointerBase() [2/5]
Initialize smart pointer to given object.
◆ vtkWeakPointerBase() [3/5]
Copy r's data object into the new weak pointer.
◆ vtkWeakPointerBase() [4/5]
Move r's object into the new weak pointer, setting r to nullptr.
◆ ~vtkWeakPointerBase()
vtkWeakPointerBase::~vtkWeakPointerBase |
( |
| ) |
|
◆ vtkWeakPointerBase() [5/5]
◆ operator=() [1/3]
Assign object to reference.
This removes any reference to an old object.
◆ operator=() [2/3]
Assign object to reference.
This removes any reference to an old object.
◆ operator=() [3/3]
Assign object to reference.
This removes any reference to an old object.
◆ GetPointer()
◆ vtkObjectBaseToWeakPointerBaseFriendship
friend class vtkObjectBaseToWeakPointerBaseFriendship |
|
friend |
◆ Object
The documentation for this class was generated from the following file: