VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Common
vtkInformation.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkInformation.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
=========================================================================*/
36
#ifndef __vtkInformation_h
37
#define __vtkInformation_h
38
39
#include "
vtkObject.h
"
40
41
// If being "compiled" by gccxml, pretend VTK_COMMON_EXPORT is nothing
42
// for this header file. The per-method usage of VTK_COMMON_EXPORT in
43
// this header file leads to gccxml errors without this workaround.
44
//
45
#ifdef __GCCXML__
46
#undef VTK_COMMON_EXPORT
47
#define VTK_COMMON_EXPORT
48
#endif
49
50
class
vtkDataObject
;
51
class
vtkExecutive
;
52
class
vtkInformationDataObjectKey
;
53
class
vtkInformationDoubleKey
;
54
class
vtkInformationDoubleVectorKey
;
55
class
vtkInformationExecutivePortKey
;
56
class
vtkInformationExecutivePortVectorKey
;
57
class
vtkInformationIdTypeKey
;
58
class
vtkInformationInformationKey
;
59
class
vtkInformationInformationVectorKey
;
60
class
vtkInformationIntegerKey
;
61
class
vtkInformationIntegerPointerKey
;
62
class
vtkInformationIntegerVectorKey
;
63
class
vtkInformationInternals
;
64
class
vtkInformationKey
;
65
class
vtkInformationKeyToInformationFriendship;
66
class
vtkInformationKeyVectorKey
;
67
class
vtkInformationObjectBaseKey
;
68
class
vtkInformationRequestKey
;
69
class
vtkInformationStringKey
;
70
class
vtkInformationStringVectorKey
;
71
class
vtkInformationUnsignedLongKey
;
72
class
vtkInformationVector
;
73
74
#if defined(_WIN32)
75
# define VTK_INFORMATION_EXPORT
76
#else
77
# define VTK_INFORMATION_EXPORT VTK_COMMON_EXPORT
78
#endif
79
80
81
class
VTK_INFORMATION_EXPORT
vtkInformation
:
public
vtkObject
82
{
83
public
:
84
VTK_COMMON_EXPORT
static
vtkInformation
*
New
();
85
vtkTypeMacro(
vtkInformation
,
vtkObject
);
86
VTK_COMMON_EXPORT
void
PrintSelf
(ostream& os,
vtkIndent
indent);
87
VTK_COMMON_EXPORT
void
PrintKeys(ostream& os,
vtkIndent
indent);
88
91
VTK_COMMON_EXPORT
void
Modified
();
92
96
VTK_COMMON_EXPORT
void
Modified
(
vtkInformationKey
* key);
97
99
VTK_COMMON_EXPORT
void
Clear();
100
103
VTK_COMMON_EXPORT
int
GetNumberOfKeys();
104
110
VTK_COMMON_EXPORT
void
Copy(
vtkInformation
* from,
int
deep=0);
111
113
117
VTK_COMMON_EXPORT
void
CopyEntry(
vtkInformation
* from,
vtkInformationKey
* key,
int
deep=0);
118
VTK_COMMON_EXPORT
void
CopyEntry(
vtkInformation
* from,
vtkInformationDataObjectKey
* key,
int
deep=0);
119
VTK_COMMON_EXPORT
void
CopyEntry(
vtkInformation
* from,
vtkInformationDoubleVectorKey
* key,
int
deep=0);
120
VTK_COMMON_EXPORT
void
CopyEntry(
vtkInformation
* from,
vtkInformationInformationKey
* key,
int
deep=0);
121
VTK_COMMON_EXPORT
void
CopyEntry(
vtkInformation
* from,
vtkInformationInformationVectorKey
* key,
int
deep=0);
122
VTK_COMMON_EXPORT
void
CopyEntry(
vtkInformation
* from,
vtkInformationIntegerKey
* key,
int
deep=0);
123
VTK_COMMON_EXPORT
void
CopyEntry(
vtkInformation
* from,
vtkInformationIntegerVectorKey
* key,
int
deep=0);
124
VTK_COMMON_EXPORT
void
CopyEntry(
vtkInformation
* from,
vtkInformationRequestKey
* key,
int
deep=0);
125
VTK_COMMON_EXPORT
void
CopyEntry(
vtkInformation
* from,
vtkInformationStringKey
* key,
int
deep=0);
126
VTK_COMMON_EXPORT
void
CopyEntry(
vtkInformation
* from,
vtkInformationStringVectorKey
* key,
int
deep=0);
127
VTK_COMMON_EXPORT
void
CopyEntry(
vtkInformation
* from,
vtkInformationUnsignedLongKey
* key,
int
deep=0);
129
134
VTK_COMMON_EXPORT
void
CopyEntries(
vtkInformation
* from,
vtkInformationKeyVectorKey
* key,
int
deep=0);
135
137
VTK_COMMON_EXPORT
int
Has(
vtkInformationKey
* key);
138
140
VTK_COMMON_EXPORT
void
Remove(
vtkInformationKey
* key);
141
143
144
VTK_COMMON_EXPORT
void
Set(
vtkInformationRequestKey
* key);
145
VTK_COMMON_EXPORT
void
Remove(
vtkInformationRequestKey
* key);
146
VTK_COMMON_EXPORT
int
Has(
vtkInformationRequestKey
* key);
148
150
151
VTK_COMMON_EXPORT
void
Set(
vtkInformationIntegerKey
* key,
int
value);
152
VTK_COMMON_EXPORT
int
Get(
vtkInformationIntegerKey
* key);
153
VTK_COMMON_EXPORT
void
Remove(
vtkInformationIntegerKey
* key);
154
VTK_COMMON_EXPORT
int
Has(
vtkInformationIntegerKey
* key);
156
158
159
VTK_COMMON_EXPORT
void
Set(
vtkInformationIdTypeKey
* key,
vtkIdType
value);
160
VTK_COMMON_EXPORT
vtkIdType
Get(
vtkInformationIdTypeKey
* key);
161
VTK_COMMON_EXPORT
void
Remove(
vtkInformationIdTypeKey
* key);
162
VTK_COMMON_EXPORT
int
Has(
vtkInformationIdTypeKey
* key);
164
166
167
VTK_COMMON_EXPORT
void
Set(
vtkInformationDoubleKey
* key,
double
value);
168
VTK_COMMON_EXPORT
double
Get(
vtkInformationDoubleKey
* key);
169
VTK_COMMON_EXPORT
void
Remove(
vtkInformationDoubleKey
* key);
170
VTK_COMMON_EXPORT
int
Has(
vtkInformationDoubleKey
* key);
172
174
175
VTK_COMMON_EXPORT
void
Append(
vtkInformationIntegerVectorKey
* key,
int
value);
176
VTK_COMMON_EXPORT
void
Set(
vtkInformationIntegerVectorKey
* key,
int
* value,
int
length);
177
VTK_COMMON_EXPORT
void
Set(
vtkInformationIntegerVectorKey
* key,
int
value1,
178
int
value2,
int
value3);
179
VTK_COMMON_EXPORT
void
Set(
vtkInformationIntegerVectorKey
* key,
180
int
value1,
int
value2,
int
value3,
181
int
value4,
int
value5,
int
value6);
182
VTK_COMMON_EXPORT
int
* Get(
vtkInformationIntegerVectorKey
* key);
183
VTK_COMMON_EXPORT
int
Get(
vtkInformationIntegerVectorKey
* key,
int
idx);
184
VTK_COMMON_EXPORT
void
Get(
vtkInformationIntegerVectorKey
* key,
int
* value);
185
VTK_COMMON_EXPORT
int
Length(
vtkInformationIntegerVectorKey
* key);
186
VTK_COMMON_EXPORT
void
Remove(
vtkInformationIntegerVectorKey
* key);
187
VTK_COMMON_EXPORT
int
Has(
vtkInformationIntegerVectorKey
* key);
189
191
192
VTK_COMMON_EXPORT
void
Append(
vtkInformationStringVectorKey
* key,
const
char
* value);
193
VTK_COMMON_EXPORT
void
Set(
vtkInformationStringVectorKey
* key,
const
char
* value,
int
idx = 0);
194
VTK_COMMON_EXPORT
const
char
* Get(
vtkInformationStringVectorKey
* key,
int
idx = 0);
195
VTK_COMMON_EXPORT
int
Length(
vtkInformationStringVectorKey
* key);
196
VTK_COMMON_EXPORT
void
Remove(
vtkInformationStringVectorKey
* key);
197
VTK_COMMON_EXPORT
int
Has(
vtkInformationStringVectorKey
* key);
199
201
202
VTK_COMMON_EXPORT
void
Set(
vtkInformationIntegerPointerKey
* key,
int
* value,
int
length);
203
VTK_COMMON_EXPORT
int
* Get(
vtkInformationIntegerPointerKey
* key);
204
VTK_COMMON_EXPORT
void
Get(
vtkInformationIntegerPointerKey
* key,
int
* value);
205
VTK_COMMON_EXPORT
int
Length(
vtkInformationIntegerPointerKey
* key);
206
VTK_COMMON_EXPORT
void
Remove(
vtkInformationIntegerPointerKey
* key);
207
VTK_COMMON_EXPORT
int
Has(
vtkInformationIntegerPointerKey
* key);
209
211
212
VTK_COMMON_EXPORT
void
Set(
vtkInformationUnsignedLongKey
* key,
unsigned
long
value);
213
VTK_COMMON_EXPORT
unsigned
long
Get(
vtkInformationUnsignedLongKey
* key);
214
VTK_COMMON_EXPORT
void
Remove(
vtkInformationUnsignedLongKey
* key);
215
VTK_COMMON_EXPORT
int
Has(
vtkInformationUnsignedLongKey
* key);
217
219
220
VTK_COMMON_EXPORT
void
Append(
vtkInformationDoubleVectorKey
* key,
double
value);
221
VTK_COMMON_EXPORT
void
Set(
vtkInformationDoubleVectorKey
* key,
double
* value,
int
length);
222
VTK_COMMON_EXPORT
void
Set(
vtkInformationDoubleVectorKey
* key,
double
value1,
223
double
value2,
double
value3);
224
VTK_COMMON_EXPORT
void
Set(
vtkInformationDoubleVectorKey
* key,
225
double
value1,
double
value2,
double
value3,
226
double
value4,
double
value5,
double
value6);
227
VTK_COMMON_EXPORT
double
* Get(
vtkInformationDoubleVectorKey
* key);
228
VTK_COMMON_EXPORT
double
Get(
vtkInformationDoubleVectorKey
* key,
int
idx);
229
VTK_COMMON_EXPORT
void
Get(
vtkInformationDoubleVectorKey
* key,
double
* value);
230
VTK_COMMON_EXPORT
int
Length(
vtkInformationDoubleVectorKey
* key);
231
VTK_COMMON_EXPORT
void
Remove(
vtkInformationDoubleVectorKey
* key);
232
VTK_COMMON_EXPORT
int
Has(
vtkInformationDoubleVectorKey
* key);
234
236
237
VTK_COMMON_EXPORT
void
Append(
vtkInformationKeyVectorKey
* key,
vtkInformationKey
* value);
238
VTK_COMMON_EXPORT
void
AppendUnique(
vtkInformationKeyVectorKey
* key,
vtkInformationKey
* value);
239
VTK_COMMON_EXPORT
void
Set(
vtkInformationKeyVectorKey
* key,
vtkInformationKey
** value,
int
length);
240
VTK_COMMON_EXPORT
void
Remove(
vtkInformationKeyVectorKey
* key,
vtkInformationKey
* value);
241
VTK_COMMON_EXPORT
vtkInformationKey
** Get(
vtkInformationKeyVectorKey
* key);
242
VTK_COMMON_EXPORT
vtkInformationKey
* Get(
vtkInformationKeyVectorKey
* key,
int
idx);
243
VTK_COMMON_EXPORT
void
Get(
vtkInformationKeyVectorKey
* key,
vtkInformationKey
** value);
244
VTK_COMMON_EXPORT
int
Length(
vtkInformationKeyVectorKey
* key);
245
VTK_COMMON_EXPORT
void
Remove(
vtkInformationKeyVectorKey
* key);
246
VTK_COMMON_EXPORT
int
Has(
vtkInformationKeyVectorKey
* key);
248
249
// Provide extra overloads of this method to avoid requiring user
250
// code to include the headers for these key types. Avoid wrapping
251
// them because the original method can be called from the wrappers
252
// anyway and this causes a python help string to be too long.
253
//BTX
254
VTK_COMMON_EXPORT
void
Append(
vtkInformationKeyVectorKey
* key,
255
vtkInformationDataObjectKey
* value);
256
VTK_COMMON_EXPORT
void
Append(
vtkInformationKeyVectorKey
* key,
vtkInformationDoubleKey
* value);
257
VTK_COMMON_EXPORT
void
Append(
vtkInformationKeyVectorKey
* key,
258
vtkInformationDoubleVectorKey
* value);
259
VTK_COMMON_EXPORT
void
Append(
vtkInformationKeyVectorKey
* key,
260
vtkInformationInformationKey
* value);
261
VTK_COMMON_EXPORT
void
Append(
vtkInformationKeyVectorKey
* key,
262
vtkInformationInformationVectorKey
* value);
263
VTK_COMMON_EXPORT
void
Append(
vtkInformationKeyVectorKey
* key,
264
vtkInformationIntegerKey
* value);
265
VTK_COMMON_EXPORT
void
Append(
vtkInformationKeyVectorKey
* key,
266
vtkInformationIntegerVectorKey
* value);
267
VTK_COMMON_EXPORT
void
Append(
vtkInformationKeyVectorKey
* key,
vtkInformationStringKey
* value);
268
VTK_COMMON_EXPORT
void
Append(
vtkInformationKeyVectorKey
* key,
269
vtkInformationStringVectorKey
* value);
270
VTK_COMMON_EXPORT
void
Append(
vtkInformationKeyVectorKey
* key,
271
vtkInformationObjectBaseKey
* value);
272
VTK_COMMON_EXPORT
void
Append(
vtkInformationKeyVectorKey
* key,
273
vtkInformationUnsignedLongKey
* value);
274
275
VTK_COMMON_EXPORT
void
AppendUnique(
vtkInformationKeyVectorKey
* key,
276
vtkInformationDataObjectKey
* value);
277
VTK_COMMON_EXPORT
void
AppendUnique(
vtkInformationKeyVectorKey
* key,
278
vtkInformationDoubleKey
* value);
279
VTK_COMMON_EXPORT
void
AppendUnique(
vtkInformationKeyVectorKey
* key,
280
vtkInformationDoubleVectorKey
* value);
281
VTK_COMMON_EXPORT
void
AppendUnique(
vtkInformationKeyVectorKey
* key,
282
vtkInformationInformationKey
* value);
283
VTK_COMMON_EXPORT
void
AppendUnique(
vtkInformationKeyVectorKey
* key,
284
vtkInformationInformationVectorKey
* value);
285
VTK_COMMON_EXPORT
void
AppendUnique(
vtkInformationKeyVectorKey
* key,
286
vtkInformationIntegerKey
* value);
287
VTK_COMMON_EXPORT
void
AppendUnique(
vtkInformationKeyVectorKey
* key,
288
vtkInformationIntegerVectorKey
* value);
289
VTK_COMMON_EXPORT
void
AppendUnique(
vtkInformationKeyVectorKey
* key,
290
vtkInformationStringKey
* value);
291
VTK_COMMON_EXPORT
void
AppendUnique(
vtkInformationKeyVectorKey
* key,
292
vtkInformationStringVectorKey
* value);
293
VTK_COMMON_EXPORT
void
AppendUnique(
vtkInformationKeyVectorKey
* key,
294
vtkInformationObjectBaseKey
* value);
295
VTK_COMMON_EXPORT
void
AppendUnique(
vtkInformationKeyVectorKey
* key,
296
vtkInformationUnsignedLongKey
* value);
297
//ETX
298
300
301
VTK_COMMON_EXPORT
void
Set(
vtkInformationStringKey
* key,
const
char
*);
302
VTK_COMMON_EXPORT
const
char
* Get(
vtkInformationStringKey
* key);
303
VTK_COMMON_EXPORT
void
Remove(
vtkInformationStringKey
* key);
304
VTK_COMMON_EXPORT
int
Has(
vtkInformationStringKey
* key);
306
308
309
VTK_COMMON_EXPORT
void
Set(
vtkInformationInformationKey
* key,
vtkInformation
*);
310
VTK_COMMON_EXPORT
vtkInformation
* Get(
vtkInformationInformationKey
* key);
311
VTK_COMMON_EXPORT
void
Remove(
vtkInformationInformationKey
* key);
312
VTK_COMMON_EXPORT
int
Has(
vtkInformationInformationKey
* key);
314
316
317
VTK_COMMON_EXPORT
void
Set(
vtkInformationInformationVectorKey
* key,
vtkInformationVector
*);
318
VTK_COMMON_EXPORT
vtkInformationVector
* Get(
vtkInformationInformationVectorKey
* key);
319
VTK_COMMON_EXPORT
void
Remove(
vtkInformationInformationVectorKey
* key);
320
VTK_COMMON_EXPORT
int
Has(
vtkInformationInformationVectorKey
* key);
322
324
325
VTK_COMMON_EXPORT
void
Set(
vtkInformationObjectBaseKey
* key,
vtkObjectBase
*);
326
VTK_COMMON_EXPORT
vtkObjectBase
* Get(
vtkInformationObjectBaseKey
* key);
327
VTK_COMMON_EXPORT
void
Remove(
vtkInformationObjectBaseKey
* key);
328
VTK_COMMON_EXPORT
int
Has(
vtkInformationObjectBaseKey
* key);
330
332
333
VTK_COMMON_EXPORT
void
Set(
vtkInformationDataObjectKey
* key,
334
vtkDataObject
VTK_WRAP_EXTERN *);
335
VTK_COMMON_EXPORT
vtkDataObject
VTK_WRAP_EXTERN* Get(
vtkInformationDataObjectKey
* key);
336
VTK_COMMON_EXPORT
void
Remove(
vtkInformationDataObjectKey
* key);
337
VTK_COMMON_EXPORT
int
Has(
vtkInformationDataObjectKey
* key);
339
341
342
VTK_COMMON_EXPORT
static
vtkInformationKey
* GetKey(
vtkInformationDataObjectKey
* key);
343
VTK_COMMON_EXPORT
static
vtkInformationKey
* GetKey(
vtkInformationDoubleKey
* key);
344
VTK_COMMON_EXPORT
static
vtkInformationKey
* GetKey(
vtkInformationDoubleVectorKey
* key);
345
VTK_COMMON_EXPORT
static
vtkInformationKey
* GetKey(
vtkInformationInformationKey
* key);
346
VTK_COMMON_EXPORT
static
vtkInformationKey
* GetKey(
vtkInformationInformationVectorKey
* key);
347
VTK_COMMON_EXPORT
static
vtkInformationKey
* GetKey(
vtkInformationIntegerKey
* key);
348
VTK_COMMON_EXPORT
static
vtkInformationKey
* GetKey(
vtkInformationIntegerVectorKey
* key);
349
VTK_COMMON_EXPORT
static
vtkInformationKey
* GetKey(
vtkInformationRequestKey
* key);
350
VTK_COMMON_EXPORT
static
vtkInformationKey
* GetKey(
vtkInformationStringKey
* key);
351
VTK_COMMON_EXPORT
static
vtkInformationKey
* GetKey(
vtkInformationStringVectorKey
* key);
352
VTK_COMMON_EXPORT
static
vtkInformationKey
* GetKey(
vtkInformationKey
* key);
353
VTK_COMMON_EXPORT
static
vtkInformationKey
* GetKey(
vtkInformationUnsignedLongKey
* key);
355
357
358
VTK_COMMON_EXPORT
virtual
void
Register
(
vtkObjectBase
* o);
359
VTK_COMMON_EXPORT
virtual
void
UnRegister
(
vtkObjectBase
* o);
361
363
364
VTK_COMMON_EXPORT
void
SetRequest(
vtkInformationRequestKey
* request);
365
VTK_COMMON_EXPORT
vtkInformationRequestKey
* GetRequest();
367
368
#if !defined(__WRAP__)
369
374
VTK_LEGACY(
VTK_FILTERING_EXPORT
void
CopyEntry(
vtkInformation
* from,
vtkInformationExecutivePortKey
* key,
int
deep=0));
375
377
379
VTK_LEGACY(
VTK_FILTERING_EXPORT
void
Append(
380
vtkInformationKeyVectorKey
* key,
381
vtkInformationExecutivePortKey
* value));
382
// Description:
383
// Append an InformationKey-vector-valued entry.
384
// @deprecated Replaced by vtkInformationExecutivePortKey::AppendUnique() as of VTK 5.2.
385
VTK_LEGACY(
VTK_FILTERING_EXPORT
void
AppendUnique(
386
vtkInformationKeyVectorKey
* key,
387
vtkInformationExecutivePortKey
* value));
389
391
394
VTK_LEGACY(
VTK_FILTERING_EXPORT
395
void
Set(
vtkInformationExecutivePortKey
* key,
vtkExecutive
*,
int
));
396
// Description:
397
// Retrieve/Modify an entry storing a vtkExecutive/port number pair.
398
// @deprecated Replaced by vtkInformationExecutivePortKey::GetExecutive() as of VTK 5.2.
399
VTK_LEGACY(
VTK_FILTERING_EXPORT
400
vtkExecutive
* GetExecutive(
vtkInformationExecutivePortKey
* key));
401
// Description:
402
// Retrieve/Modify an entry storing a vtkExecutive/port number pair.
403
// @deprecated Replaced by vtkInformationExecutivePortKey::GetPort() as of VTK 5.2.
404
VTK_LEGACY(
VTK_FILTERING_EXPORT
405
int
GetPort(
vtkInformationExecutivePortKey
* key));
406
// Description:
407
// Retrieve/Modify an entry storing a vtkExecutive/port number pair.
408
// @deprecated Replaced by vtkInformationExecutivePortKey::Get() as of VTK 5.2.
409
VTK_LEGACY(
VTK_FILTERING_EXPORT
410
void
Get(
vtkInformationExecutivePortKey
* key,
vtkExecutive
*& executive,
int
&port));
411
// Description:
412
// Retrieve/Modify an entry storing a vtkExecutive/port number pair.
413
// @deprecated Replaced by vtkInformationExecutivePortKey::Remove() as of VTK 5.2.
414
VTK_LEGACY(
VTK_FILTERING_EXPORT
415
void
Remove(
vtkInformationExecutivePortKey
* key));
416
// Description:
417
// Retrieve/Modify an entry storing a vtkExecutive/port number pair.
418
// @deprecated Replaced by vtkInformationExecutivePortKey::Has() as of VTK 5.2.
419
VTK_LEGACY(
VTK_FILTERING_EXPORT
420
int
Has(
vtkInformationExecutivePortKey
* key));
422
424
427
VTK_LEGACY(
VTK_FILTERING_EXPORT
428
void
Append(
vtkInformationExecutivePortVectorKey
* key,
429
vtkExecutive
* executive,
int
port));
430
// Description:
431
// Retrieve/Modify an entry storing a vector of vtkExecutive/port number pairs.
432
// @deprecated Replaced by vtkInformationExecutivePortVectorKey::Remove() as of VTK 5.2.
433
VTK_LEGACY(
VTK_FILTERING_EXPORT
434
void
Remove(
vtkInformationExecutivePortVectorKey
* key,
435
vtkExecutive
* executive,
int
port));
436
// Description:
437
// Retrieve/Modify an entry storing a vector of vtkExecutive/port number pairs.
438
// @deprecated Replaced by vtkInformationExecutivePortVectorKey::Set() as of VTK 5.2.
439
VTK_LEGACY(
VTK_FILTERING_EXPORT
440
void
Set(
vtkInformationExecutivePortVectorKey
* key,
441
vtkExecutive
** executives,
int
* ports,
int
length));
442
// Description:
443
// Retrieve/Modify an entry storing a vector of vtkExecutive/port number pairs.
444
// @deprecated Replaced by vtkInformationExecutivePortVectorKey::GetExecutives() as of VTK 5.2.
445
VTK_LEGACY(
VTK_FILTERING_EXPORT
446
vtkExecutive
** GetExecutives(
vtkInformationExecutivePortVectorKey
* key));
447
// Description:
448
// Retrieve/Modify an entry storing a vector of vtkExecutive/port number pairs.
449
// @deprecated Replaced by vtkInformationExecutivePortVectorKey::GetPorts() as of VTK 5.2.
450
VTK_LEGACY(
VTK_FILTERING_EXPORT
451
int
* GetPorts(
vtkInformationExecutivePortVectorKey
* key));
452
// Description:
453
// Retrieve/Modify an entry storing a vector of vtkExecutive/port number pairs.
454
// @deprecated Replaced by vtkInformationExecutivePortVectorKey::Get() as of VTK 5.2.
455
VTK_LEGACY(
VTK_FILTERING_EXPORT
456
void
Get(
vtkInformationExecutivePortVectorKey
* key,
457
vtkExecutive
** executives,
int
* ports));
458
// Description:
459
// Retrieve/Modify an entry storing a vector of vtkExecutive/port number pairs.
460
// @deprecated Replaced by vtkInformationExecutivePortVectorKey::Length() as of VTK 5.2.
461
VTK_LEGACY(
VTK_FILTERING_EXPORT
462
int
Length(
vtkInformationExecutivePortVectorKey
* key));
463
// Description:
464
// Retrieve/Modify an entry storing a vector of vtkExecutive/port number pairs.
465
// @deprecated Replaced by vtkInformationExecutivePortVectorKey::Remove() as of VTK 5.2.
466
VTK_LEGACY(
VTK_FILTERING_EXPORT
467
void
Remove(
vtkInformationExecutivePortVectorKey
* key));
468
// Description:
469
// Retrieve/Modify an entry storing a vector of vtkExecutive/port number pairs.
470
// @deprecated Replaced by vtkInformationExecutivePortVectorKey::Has() as of VTK 5.2.
471
VTK_LEGACY(
VTK_FILTERING_EXPORT
472
int
Has(
vtkInformationExecutivePortVectorKey
* key));
474
476
478
VTK_LEGACY(
VTK_FILTERING_EXPORT
479
static
vtkInformationKey
* GetKey(
vtkInformationExecutivePortKey
* key));
480
#endif // !defined(__WRAP__)
481
482
483
protected
:
484
VTK_COMMON_EXPORT
vtkInformation
();
485
VTK_COMMON_EXPORT
~
vtkInformation
();
486
487
// Get/Set a map entry directly through the vtkObjectBase instance
488
// representing the value. Used internally to manage the map.
489
VTK_COMMON_EXPORT
void
SetAsObjectBase(
vtkInformationKey
* key,
vtkObjectBase
* value);
490
VTK_COMMON_EXPORT
vtkObjectBase
* GetAsObjectBase(
vtkInformationKey
* key);
491
492
// Internal implementation details.
493
vtkInformationInternals
*
Internal
;
494
495
// Garbage collection support.
496
VTK_COMMON_EXPORT
virtual
void
ReportReferences
(
vtkGarbageCollector
*);
497
498
// Report the object associated with the given key to the collector.
499
VTK_COMMON_EXPORT
void
ReportAsObjectBase(
vtkInformationKey
* key,
500
vtkGarbageCollector
* collector);
501
502
private
:
503
//BTX
504
friend
class
vtkInformationKeyToInformationFriendship;
505
friend
class
vtkInformationIterator
;
506
//ETX
507
private
:
508
VTK_COMMON_EXPORT
vtkInformation
(
const
vtkInformation
&);
// Not implemented.
509
VTK_COMMON_EXPORT
void
operator=(
const
vtkInformation
&);
// Not implemented.
510
vtkInformationRequestKey
*Request;
511
};
512
513
#endif
Generated on Sun Sep 15 2013 03:44:19 for VTK by
1.8.4