VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Common
vtkInformationIntegerVectorKey.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkInformationIntegerVectorKey.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
=========================================================================*/
22
#ifndef __vtkInformationIntegerVectorKey_h
23
#define __vtkInformationIntegerVectorKey_h
24
25
#include "
vtkInformationKey.h
"
26
27
#include "
vtkCommonInformationKeyManager.h
"
// Manage instances of this type.
28
29
class
VTK_COMMON_EXPORT
vtkInformationIntegerVectorKey
:
public
vtkInformationKey
30
{
31
public
:
32
vtkTypeMacro(
vtkInformationIntegerVectorKey
,
vtkInformationKey
);
33
void
PrintSelf
(ostream& os,
vtkIndent
indent);
34
35
vtkInformationIntegerVectorKey
(
const
char
*
name
,
const
char
*
location
,
36
int
length
=-1);
37
~
vtkInformationIntegerVectorKey
();
38
40
42
void
Append(
vtkInformation
*
info
,
int
value
);
43
void
Set(
vtkInformation
*
info
,
int
*
value
,
int
length
);
44
void
Set(
vtkInformation
*
info
);
45
int
* Get(
vtkInformation
*
info
);
46
int
Get(
vtkInformation
*
info
,
int
idx);
47
void
Get(
vtkInformation
*
info
,
int
*
value
);
48
int
Length(
vtkInformation
*
info
);
50
54
virtual
void
ShallowCopy
(
vtkInformation
* from,
vtkInformation
* to);
55
57
virtual
void
Print
(ostream& os,
vtkInformation
*
info
);
58
59
protected
:
60
// The required length of the vector value (-1 is no restriction).
61
int
RequiredLength
;
62
66
int
* GetWatchAddress(
vtkInformation
*
info
);
67
68
private
:
69
vtkInformationIntegerVectorKey
(
const
vtkInformationIntegerVectorKey
&);
// Not implemented.
70
void
operator=(
const
vtkInformationIntegerVectorKey
&);
// Not implemented.
71
};
72
73
#endif
Generated on Wed Nov 21 2012 21:33:39 for VTK by
1.8.2