VTK
vtkReferenceCount.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkReferenceCount.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
23 #ifndef __vtkReferenceCount_h
24 #define __vtkReferenceCount_h
25 
26 #include "vtkObject.h"
27 
29 {
30 public:
31  static vtkReferenceCount *New();
32 
34  void PrintSelf(ostream& os, vtkIndent indent);
35 
36 protected:
39 
40 private:
41  vtkReferenceCount(const vtkReferenceCount&); // Not implemented.
42  void operator=(const vtkReferenceCount&); // Not implemented.
43 };
44 
45 
46 #endif
47 
abstract base class for most VTK objects
Definition: vtkObject.h:60
virtual void PrintSelf(ostream &os, vtkIndent indent)
a simple class to control print indentation
Definition: vtkIndent.h:37
#define VTK_COMMON_EXPORT
Obsolete / empty subclass of object.
static vtkObject * New()