Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

dox/Common/vtkReferenceCount.h

Go to the documentation of this file.
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 =========================================================================*/ 00027 #ifndef __vtkReferenceCount_h 00028 #define __vtkReferenceCount_h 00029 00030 #include "vtkObject.h" 00031 00032 class VTK_COMMON_EXPORT vtkReferenceCount : public vtkObject 00033 { 00034 public: 00035 static vtkReferenceCount *New(); 00036 00037 vtkTypeRevisionMacro(vtkReferenceCount,vtkObject); 00038 void PrintSelf(ostream& os, vtkIndent indent); 00039 00040 protected: 00041 vtkReferenceCount(); 00042 ~vtkReferenceCount(); 00043 00044 private: 00045 vtkReferenceCount(const vtkReferenceCount&); // Not implemented. 00046 void operator=(const vtkReferenceCount&); // Not implemented. 00047 }; 00048 00049 00050 #endif 00051