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

vtkReferenceCount.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkReferenceCount.h,v $
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 =========================================================================*/
00036 #ifndef __vtkReferenceCount_h
00037 #define __vtkReferenceCount_h
00038 
00039 #include "vtkObject.h"
00040 
00041 class VTK_COMMON_EXPORT vtkReferenceCount : public vtkObject
00042 {
00043 public:
00044   static vtkReferenceCount *New();
00045 
00046   vtkTypeRevisionMacro(vtkReferenceCount,vtkObject);
00047   void PrintSelf(ostream& os, vtkIndent indent);
00048   
00049 protected:  
00050   vtkReferenceCount();
00051   ~vtkReferenceCount();
00052 
00053 private:
00054   vtkReferenceCount(const vtkReferenceCount&);  // Not implemented.
00055   void operator=(const vtkReferenceCount&);  // Not implemented.
00056 };
00057 
00058 
00059 #endif
00060