VTK
dox
Common
Core
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
30
class
VTKCOMMONCORE_EXPORT
vtkReferenceCount
:
public
vtkObject
31
{
32
public
:
33
static
vtkReferenceCount
*
New
();
34
35
vtkTypeMacro(
vtkReferenceCount
,
vtkObject
);
36
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
37
38
protected
:
39
vtkReferenceCount
();
40
~
vtkReferenceCount
()
override
;
41
42
private
:
43
vtkReferenceCount
(
const
vtkReferenceCount
&) =
delete
;
44
void
operator=(
const
vtkReferenceCount
&) =
delete
;
45
};
46
47
48
#endif
49
vtkObject::New
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
vtkObject
abstract base class for most VTK objects
Definition:
vtkObject.h:59
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:39
vtkObject::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkReferenceCount
Obsolete / empty subclass of object.
Definition:
vtkReferenceCount.h:30
vtkObject.h
Generated by
1.8.16