vtkSmartPointerBase Class Reference

#include <vtkSmartPointerBase.h>

Inheritance diagram for vtkSmartPointerBase:

Inheritance graph
[legend]
Collaboration diagram for vtkSmartPointerBase:

Collaboration graph
[legend]

List of all members.


Detailed Description

Non-templated superclass for vtkSmartPointer.

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 30 of file vtkSmartPointerBase.h.


Public Member Functions

 vtkSmartPointerBase ()
 vtkSmartPointerBase (vtkObjectBase *r)
 vtkSmartPointerBase (const vtkSmartPointerBase &r)
 ~vtkSmartPointerBase ()
void Report (vtkGarbageCollector *collector, const char *desc)
vtkSmartPointerBaseoperator= (vtkObjectBase *r)
vtkSmartPointerBaseoperator= (const vtkSmartPointerBase &r)
vtkObjectBaseGetPointer () const

Protected Member Functions

 vtkSmartPointerBase (vtkObjectBase *r, const NoReference &)

Protected Attributes

vtkObjectBaseObject

Classes

class  NoReference

Constructor & Destructor Documentation

vtkSmartPointerBase::vtkSmartPointerBase (  ) 

Initialize smart pointer to NULL.

vtkSmartPointerBase::vtkSmartPointerBase ( vtkObjectBase r  ) 

Initialize smart pointer to given object.

vtkSmartPointerBase::vtkSmartPointerBase ( const vtkSmartPointerBase r  ) 

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

vtkSmartPointerBase::~vtkSmartPointerBase (  ) 

Destroy smart pointer and remove the reference to its object.

vtkSmartPointerBase::vtkSmartPointerBase ( vtkObjectBase r,
const NoReference  
) [protected]


Member Function Documentation

vtkSmartPointerBase& vtkSmartPointerBase::operator= ( vtkObjectBase r  ) 

Assign object to reference. This removes any reference to an old object.

vtkSmartPointerBase& vtkSmartPointerBase::operator= ( const vtkSmartPointerBase r  ) 

Assign object to reference. This removes any reference to an old object.

Reimplemented in vtkSmartPointer< T >, vtkSmartPointer< vtkPolyDataMapper2D >, vtkSmartPointer< vtkRenderer >, vtkSmartPointer< vtkActor2D >, vtkSmartPointer< vtkPointData >, vtkSmartPointer< vtkTreeFieldAggregator >, vtkSmartPointer< vtkKdTreeSelector >, vtkSmartPointer< vtkActor >, vtkSmartPointer< vtkConstrained2DLayoutStrategy >, vtkSmartPointer< vtkDoubleArray >, vtkSmartPointer< vtkTexturedActor2D >, vtkSmartPointer< vtkLookupTable >, vtkSmartPointer< vtkTreeMapLayout >, vtkSmartPointer< vtkVisibleCellSelector >, vtkSmartPointer< vtkDataObject >, vtkSmartPointer< vtkForceDirectedLayoutStrategy >, vtkSmartPointer< vtkFloatArray >, vtkSmartPointer< vtkIconGlyphFilter >, vtkSmartPointer< vtkLabeledTreeMapDataMapper >, vtkSmartPointer< vtkPolyDataMapper >, vtkSmartPointer< vtkIntArray >, vtkSmartPointer< vtkEdgeCenters >, vtkSmartPointer< vtkSimple2DLayoutStrategy >, vtkSmartPointer< vtkPoints >, vtkSmartPointer< vtkTransformCoordinateSystems >, vtkSmartPointer< vtkCircularLayoutStrategy >, vtkSmartPointer< vtkPassThroughLayoutStrategy >, vtkSmartPointer< vtkFastSplatter >, vtkSmartPointer< vtkGraphMapper >, vtkSmartPointer< vtkCoordinate >, vtkSmartPointer< vtkScalarsToColors >, vtkSmartPointer< vtkTemporalInterpolatedVelocityField >, vtkSmartPointer< vtkClustering2DLayoutStrategy >, vtkSmartPointer< vtkImageData >, vtkSmartPointer< vtkRandomLayoutStrategy >, vtkSmartPointer< vtkVertexGlyphFilter >, vtkSmartPointer< vtkTreeLevelsFilter >, vtkSmartPointer< vtkExtractSelectedGraph >, vtkSmartPointer< vtkCommunity2DLayoutStrategy >, vtkSmartPointer< vtkArrayMap >, vtkSmartPointer< vtkInformation >, vtkSmartPointer< vtkCellArray >, vtkSmartPointer< vtkVertexDegree >, vtkSmartPointer< vtkTreeMapToPolyData >, vtkSmartPointer< vtkFast2DLayoutStrategy >, vtkSmartPointer< vtkGraphLayout >, vtkSmartPointer< vtkGraphToPolyData >, vtkSmartPointer< vtkGlyph3D >, and vtkSmartPointer< vtkDynamic2DLabelMapper >.

vtkObjectBase* vtkSmartPointerBase::GetPointer (  )  const [inline]

Get the contained pointer.

Reimplemented in vtkSmartPointer< T >, vtkSmartPointer< vtkPolyDataMapper2D >, vtkSmartPointer< vtkRenderer >, vtkSmartPointer< vtkActor2D >, vtkSmartPointer< vtkPointData >, vtkSmartPointer< vtkTreeFieldAggregator >, vtkSmartPointer< vtkKdTreeSelector >, vtkSmartPointer< vtkActor >, vtkSmartPointer< vtkConstrained2DLayoutStrategy >, vtkSmartPointer< vtkDoubleArray >, vtkSmartPointer< vtkTexturedActor2D >, vtkSmartPointer< vtkLookupTable >, vtkSmartPointer< vtkTreeMapLayout >, vtkSmartPointer< vtkVisibleCellSelector >, vtkSmartPointer< vtkDataObject >, vtkSmartPointer< vtkForceDirectedLayoutStrategy >, vtkSmartPointer< vtkFloatArray >, vtkSmartPointer< vtkIconGlyphFilter >, vtkSmartPointer< vtkLabeledTreeMapDataMapper >, vtkSmartPointer< vtkPolyDataMapper >, vtkSmartPointer< vtkIntArray >, vtkSmartPointer< vtkEdgeCenters >, vtkSmartPointer< vtkSimple2DLayoutStrategy >, vtkSmartPointer< vtkPoints >, vtkSmartPointer< vtkTransformCoordinateSystems >, vtkSmartPointer< vtkCircularLayoutStrategy >, vtkSmartPointer< vtkPassThroughLayoutStrategy >, vtkSmartPointer< vtkFastSplatter >, vtkSmartPointer< vtkGraphMapper >, vtkSmartPointer< vtkCoordinate >, vtkSmartPointer< vtkScalarsToColors >, vtkSmartPointer< vtkTemporalInterpolatedVelocityField >, vtkSmartPointer< vtkClustering2DLayoutStrategy >, vtkSmartPointer< vtkImageData >, vtkSmartPointer< vtkRandomLayoutStrategy >, vtkSmartPointer< vtkVertexGlyphFilter >, vtkSmartPointer< vtkTreeLevelsFilter >, vtkSmartPointer< vtkExtractSelectedGraph >, vtkSmartPointer< vtkCommunity2DLayoutStrategy >, vtkSmartPointer< vtkArrayMap >, vtkSmartPointer< vtkInformation >, vtkSmartPointer< vtkCellArray >, vtkSmartPointer< vtkVertexDegree >, vtkSmartPointer< vtkTreeMapToPolyData >, vtkSmartPointer< vtkFast2DLayoutStrategy >, vtkSmartPointer< vtkGraphLayout >, vtkSmartPointer< vtkGraphToPolyData >, vtkSmartPointer< vtkGlyph3D >, and vtkSmartPointer< vtkDynamic2DLabelMapper >.

Definition at line 55 of file vtkSmartPointerBase.h.

void vtkSmartPointerBase::Report ( vtkGarbageCollector collector,
const char *  desc 
)

Report the reference held by the smart pointer to a collector.


Member Data Documentation

Definition at line 75 of file vtkSmartPointerBase.h.


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

Generated on Sat Dec 27 13:50:07 2008 for VTK by  doxygen 1.5.6