VTK
dox
opt
build
vtk6-6.3.0+dfsg2
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
=========================================================================*/
23
#ifndef vtkReferenceCount_h
24
#define vtkReferenceCount_h
25
26
#include "
vtkCommonCoreModule.h
"
// For export macro
27
#include "
vtkObject.h
"
28
29
class
VTKCOMMONCORE_EXPORT
vtkReferenceCount
:
public
vtkObject
30
{
31
public
:
32
static
vtkReferenceCount
*
New
();
33
34
vtkTypeMacro
(
vtkReferenceCount
,
vtkObject
);
35
void
PrintSelf
(ostream& os,
vtkIndent
indent);
36
37
protected
:
38
vtkReferenceCount
();
39
~vtkReferenceCount
();
40
41
private
:
42
vtkReferenceCount
(
const
vtkReferenceCount
&);
// Not implemented.
43
void
operator=(
const
vtkReferenceCount
&);
// Not implemented.
44
};
45
46
47
#endif
48
VTKCOMMONCORE_EXPORT
#define VTKCOMMONCORE_EXPORT
Definition:
vtkCommonCoreModule.h:15
vtkReferenceCount::~vtkReferenceCount
~vtkReferenceCount()
vtkTypeMacro
#define vtkTypeMacro(thisClass, superclass)
Definition:
vtkSetGet.h:642
vtkObject
abstract base class for most VTK objects
Definition:
vtkObject.h:62
vtkReferenceCount::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
vtkCommonCoreModule.h
vtkReferenceCount::vtkReferenceCount
vtkReferenceCount()
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:39
vtkReferenceCount
Obsolete / empty subclass of object.
Definition:
vtkReferenceCount.h:30
vtkObject.h
vtkReferenceCount::New
static vtkReferenceCount * New()
Generated by
1.8.20