VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Common
vtkOverrideInformation.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkOverrideInformation.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
=========================================================================*/
26
#ifndef __vtkOverrideInformation_h
27
#define __vtkOverrideInformation_h
28
29
#include "
vtkObject.h
"
30
31
class
vtkObjectFactory
;
32
33
class
VTK_COMMON_EXPORT
vtkOverrideInformation
:
public
vtkObject
34
{
35
public
:
36
static
vtkOverrideInformation
*
New
();
37
vtkTypeMacro(
vtkOverrideInformation
,
vtkObject
);
39
virtual
void
PrintSelf
(ostream& os,
vtkIndent
indent);
40
42
45
const
char
*
GetClassOverrideName
()
46
{
47
return
this->ClassOverrideName;
48
}
50
52
55
const
char
*
GetClassOverrideWithName
()
56
{
57
return
this->ClassOverrideWithName;
58
}
60
62
64
const
char
*
GetDescription
()
65
{
66
return
this->Description;
67
}
69
71
72
vtkObjectFactory
*
GetObjectFactory
()
73
{
74
return
this->ObjectFactory;
75
}
76
// Description:
77
// Set the class override name
78
vtkSetStringMacro(ClassOverrideName);
79
// Set the class override with name
80
vtkSetStringMacro(ClassOverrideWithName);
81
// Set the description
82
vtkSetStringMacro(Description);
83
protected
:
84
virtual
void
SetObjectFactory(
vtkObjectFactory
*);
86
87
private
:
88
vtkOverrideInformation
();
89
~
vtkOverrideInformation
();
90
// allow the object factory to set the values in this
91
// class, but only the object factory
92
//BTX
93
friend
class
vtkObjectFactory
;
94
//ETX
95
96
char
* ClassOverrideName;
97
char
* ClassOverrideWithName;
98
char
* Description;
99
vtkObjectFactory
* ObjectFactory;
100
private
:
101
vtkOverrideInformation
(
const
vtkOverrideInformation
&);
// Not implemented.
102
void
operator=(
const
vtkOverrideInformation
&);
// Not implemented.
103
};
104
105
#endif
Generated on Sun Sep 15 2013 03:44:20 for VTK by
1.8.4