VTK  9.3.20240424
vtkReferenceCount.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2// SPDX-License-Identifier: BSD-3-Clause
12#ifndef vtkReferenceCount_h
13#define vtkReferenceCount_h
14
15#include "vtkCommonCoreModule.h" // For export macro
16#include "vtkObject.h"
17
18VTK_ABI_NAMESPACE_BEGIN
19class VTKCOMMONCORE_EXPORT vtkReferenceCount : public vtkObject
20{
21public:
23
25 void PrintSelf(ostream& os, vtkIndent indent) override;
26
27protected:
30
31private:
32 vtkReferenceCount(const vtkReferenceCount&) = delete;
33 void operator=(const vtkReferenceCount&) = delete;
34};
35
36VTK_ABI_NAMESPACE_END
37#endif
a simple class to control print indentation
Definition vtkIndent.h:108
abstract base class for most VTK objects
Definition vtkObject.h:162
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()