79 this->CheckObjectBase(this->Object);
88 T* obj = this->Object;
125 void operator=(
vtkNew<T> const&) VTK_DELETE_FUNCTION;
133 inline ostream& operator << (ostream& os, const
vtkNew<T>& p)
~vtkNew()
Deletes reference to instance of T on destruction.
T * Get() const
Get a raw pointer to the contained object.
vtkNew()
Create a new T on construction.
T * operator->() const
Enable pointer-like dereference syntax.
abstract base class for most VTK objects
T * GetPointer() const
Get a raw pointer to the contained object.
Allocate and hold a VTK object.