VTK
/Users/kitware/Dashboards/MyTests/VTK_BLD_Release_docs/Utilities/Doxygen/dox/Common/Core/vtkReferenceCount.h
Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    vtkReferenceCount.h
00005 
00006   Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
00007   All rights reserved.
00008   See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
00009 
00010      This software is distributed WITHOUT ANY WARRANTY; without even
00011      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
00012      PURPOSE.  See the above copyright notice for more information.
00013 
00014 =========================================================================*/
00023 #ifndef vtkReferenceCount_h
00024 #define vtkReferenceCount_h
00025 
00026 #include "vtkCommonCoreModule.h" // For export macro
00027 #include "vtkObject.h"
00028 
00029 class VTKCOMMONCORE_EXPORT vtkReferenceCount : public vtkObject
00030 {
00031 public:
00032   static vtkReferenceCount *New();
00033 
00034   vtkTypeMacro(vtkReferenceCount,vtkObject);
00035   void PrintSelf(ostream& os, vtkIndent indent);
00036 
00037 protected:
00038   vtkReferenceCount();
00039   ~vtkReferenceCount();
00040 
00041 private:
00042   vtkReferenceCount(const vtkReferenceCount&);  // Not implemented.
00043   void operator=(const vtkReferenceCount&);  // Not implemented.
00044 };
00045 
00046 
00047 #endif
00048