00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkReferenceCount.h,v $ 00005 Language: C++ 00006 00007 Copyright (c) 1993-2002 Ken Martin, Will Schroeder, Bill Lorensen 00008 All rights reserved. 00009 See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 00010 00011 This software is distributed WITHOUT ANY WARRANTY; without even 00012 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00013 PURPOSE. See the above copyright notice for more information. 00014 00015 =========================================================================*/ 00039 #ifndef __vtkReferenceCount_h 00040 #define __vtkReferenceCount_h 00041 00042 #include "vtkObject.h" 00043 00044 class VTK_COMMON_EXPORT vtkReferenceCount : public vtkObject 00045 { 00046 public: 00047 static vtkReferenceCount *New(); 00048 00049 vtkTypeRevisionMacro(vtkReferenceCount,vtkObject); 00050 void PrintSelf(ostream& os, vtkIndent indent); 00051 00052 protected: 00053 vtkReferenceCount(); 00054 ~vtkReferenceCount(); 00055 00056 private: 00057 vtkReferenceCount(const vtkReferenceCount&); // Not implemented. 00058 void operator=(const vtkReferenceCount&); // Not implemented. 00059 }; 00060 00061 00062 #endif 00063