ALBA
Public Member Functions | List of all members
vtkALBAAutoPointer< T > Class Template Reference

#include <vtkALBASmartPointer.h>

Inheritance diagram for vtkALBAAutoPointer< T >:
Inheritance graph
[legend]
Collaboration diagram for vtkALBAAutoPointer< T >:
Collaboration graph
[legend]

Public Member Functions

 vtkALBAAutoPointer ()
 
 vtkALBAAutoPointer (T *r)
 
 vtkALBAAutoPointer (const vtkSmartPointerBase &r)
 
 operator T* () const
 

Detailed Description

template<class T>
class vtkALBAAutoPointer< T >

Hold a reference to a vtkObjectBase instance.

vtkALBASmartPointer is a specialization of vtkSmartPointer which automatically instantiate an object in the default constructor.

Definition at line 27 of file vtkALBASmartPointer.h.

Constructor & Destructor Documentation

◆ vtkALBAAutoPointer() [1/3]

template<class T >
vtkALBAAutoPointer< T >::vtkALBAAutoPointer ( )
inline

Initialize smart pointer to a new instanse of class T.

Definition at line 31 of file vtkALBASmartPointer.h.

◆ vtkALBAAutoPointer() [2/3]

template<class T >
vtkALBAAutoPointer< T >::vtkALBAAutoPointer ( T *  r)
inline

Initialize smart pointer to given object pointer and reference the given object.

Definition at line 35 of file vtkALBASmartPointer.h.

◆ vtkALBAAutoPointer() [3/3]

template<class T >
vtkALBAAutoPointer< T >::vtkALBAAutoPointer ( const vtkSmartPointerBase &  r)
inline

Initialize smart pointer with a new reference to the same object referenced by given smart pointer.

Definition at line 40 of file vtkALBASmartPointer.h.

Member Function Documentation

◆ operator T*()

template<class T >
vtkALBAAutoPointer< T >::operator T* ( ) const
inline

Allows passing the smart pointer to any function requiring a "T *".

Definition at line 43 of file vtkALBASmartPointer.h.


The documentation for this class was generated from the following file: