VTK  9.1.0
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=========================================================================*/
24#ifndef vtkReferenceCount_h
25#define vtkReferenceCount_h
26
27#include "vtkCommonCoreModule.h" // For export macro
28#include "vtkObject.h"
29
30class VTKCOMMONCORE_EXPORT vtkReferenceCount : public vtkObject
31{
32public:
34
36 void PrintSelf(ostream& os, vtkIndent indent) override;
37
38protected:
41
42private:
43 vtkReferenceCount(const vtkReferenceCount&) = delete;
44 void operator=(const vtkReferenceCount&) = delete;
45};
46
47#endif
a simple class to control print indentation
Definition: vtkIndent.h:113
abstract base class for most VTK objects
Definition: vtkObject.h:82
Obsolete / empty subclass of object.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
~vtkReferenceCount() override
static vtkReferenceCount * New()