VTK  9.5.20250615
vtkInformation.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2// SPDX-License-Identifier: BSD-3-Clause
134#ifndef vtkInformation_h
135#define vtkInformation_h
136
137#include "vtkCommonCoreModule.h" // For export macro
138#include "vtkObject.h"
139#include "vtkWrappingHints.h" // For VTK_MARSHALMANUAL
140
141#include <string> // for std::string compat
142
143VTK_ABI_NAMESPACE_BEGIN
144class vtkDataObject;
145class vtkExecutive;
159class vtkInformationKeyToInformationFriendship;
170class vtkVariant;
171
172class VTKCOMMONCORE_EXPORT VTK_MARSHALMANUAL vtkInformation : public vtkObject
173{
174public:
176 vtkTypeMacro(vtkInformation, vtkObject);
177 void PrintSelf(ostream& os, vtkIndent indent) override;
178 void PrintKeys(ostream& os, vtkIndent indent);
179
184 void Modified() override;
185
192
196 void Clear();
197
202 int GetNumberOfKeys(); // can't const
203
211 void Copy(vtkInformation* from, vtkTypeBool deep = 0);
212
219 void Append(vtkInformation* from, vtkTypeBool deep = 0);
220
222
245
253
257 int Has(vtkInformationKey* key) VTK_FUTURE_CONST;
258
263
265
270 int Has(vtkInformationRequestKey* key) VTK_FUTURE_CONST;
272
274
277 void Set(vtkInformationIntegerKey* key, int value);
280 int Has(vtkInformationIntegerKey* key) VTK_FUTURE_CONST;
282
284
290 int Has(vtkInformationIdTypeKey* key) VTK_FUTURE_CONST;
292
294
297 void Set(vtkInformationDoubleKey* key, double value);
300 int Has(vtkInformationDoubleKey* key) VTK_FUTURE_CONST;
302
304
307 void Set(vtkInformationVariantKey* key, const vtkVariant& value);
310 int Has(vtkInformationVariantKey* key) VTK_FUTURE_CONST;
312
314
318 void Set(vtkInformationIntegerVectorKey* key, const int* value, int length);
319 void Set(vtkInformationIntegerVectorKey* key, int value1, int value2, int value3);
320 void Set(vtkInformationIntegerVectorKey* key, int value1, int value2, int value3, int value4,
321 int value5, int value6);
324 void Get(vtkInformationIntegerVectorKey* key, int* value);
327 int Has(vtkInformationIntegerVectorKey* key) VTK_FUTURE_CONST;
329
331
334 void Append(vtkInformationStringVectorKey* key, const char* value);
335 void Set(vtkInformationStringVectorKey* key, const char* value, int idx = 0);
336 void Append(vtkInformationStringVectorKey* key, const std::string& value);
337 void Set(vtkInformationStringVectorKey* key, const std::string& value, int idx = 0);
338 const char* Get(vtkInformationStringVectorKey* key, int idx = 0);
341 int Has(vtkInformationStringVectorKey* key) VTK_FUTURE_CONST;
343
345
348 void Set(vtkInformationIntegerPointerKey* key, int* value, int length);
350 void Get(vtkInformationIntegerPointerKey* key, int* value);
353 int Has(vtkInformationIntegerPointerKey* key) VTK_FUTURE_CONST;
355
357
360 void Set(vtkInformationUnsignedLongKey* key, unsigned long value);
363 int Has(vtkInformationUnsignedLongKey* key) VTK_FUTURE_CONST;
365
367
370 void Append(vtkInformationDoubleVectorKey* key, double value);
371 void Set(vtkInformationDoubleVectorKey* key, const double* value, int length);
372 void Set(vtkInformationDoubleVectorKey* key, double value1, double value2, double value3);
373 void Set(vtkInformationDoubleVectorKey* key, double value1, double value2, double value3,
374 double value4, double value5, double value6);
376 double Get(vtkInformationDoubleVectorKey* key, int idx);
377 void Get(vtkInformationDoubleVectorKey* key, double* value);
380 int Has(vtkInformationDoubleVectorKey* key) VTK_FUTURE_CONST;
382
384
388 void Set(vtkInformationVariantVectorKey* key, const vtkVariant* value, int length);
389 void Set(vtkInformationVariantVectorKey* key, const vtkVariant& value1, const vtkVariant& value2,
390 const vtkVariant& value3);
391 void Set(vtkInformationVariantVectorKey* key, const vtkVariant& value1, const vtkVariant& value2,
392 const vtkVariant& value3, const vtkVariant& value4, const vtkVariant& value5,
393 const vtkVariant& value6);
399 int Has(vtkInformationVariantVectorKey* key) VTK_FUTURE_CONST;
401
403
408 void Set(vtkInformationKeyVectorKey* key, vtkInformationKey* const* value, int length);
415 int Has(vtkInformationKeyVectorKey* key) VTK_FUTURE_CONST;
417
418 // Provide extra overloads of this method to avoid requiring user
419 // code to include the headers for these key types. Avoid wrapping
420 // them because the original method can be called from the wrappers
421 // anyway and this causes a python help string to be too long.
422
434
446
448
451 void Set(vtkInformationStringKey* key, const char*);
452 void Set(vtkInformationStringKey* key, const std::string&);
453 const char* Get(vtkInformationStringKey* key);
455 int Has(vtkInformationStringKey* key) VTK_FUTURE_CONST;
457
459
465 int Has(vtkInformationInformationKey* key) VTK_FUTURE_CONST;
467
469
475 int Has(vtkInformationInformationVectorKey* key) VTK_FUTURE_CONST;
477
479
485 int Has(vtkInformationObjectBaseKey* key) VTK_FUTURE_CONST;
487
489
493 void Set(vtkInformationObjectBaseVectorKey* key, vtkObjectBase* value, int idx = 0);
498 void Remove(vtkInformationObjectBaseVectorKey* key, int indexToRemove);
499 int Has(vtkInformationObjectBaseVectorKey* key) VTK_FUTURE_CONST;
501
503
506 void Set(vtkInformationDataObjectKey* key, vtkDataObject VTK_WRAP_EXTERN*);
509 int Has(vtkInformationDataObjectKey* key) VTK_FUTURE_CONST;
511
513
531
533
536 bool UsesGarbageCollector() const override { return true; }
538
540
546
547protected:
549 ~vtkInformation() override;
550
551 // Get/Set a map entry directly through the vtkObjectBase instance
552 // representing the value. Used internally to manage the map.
553 void SetAsObjectBase(vtkInformationKey* key, vtkObjectBase* value);
554 const vtkObjectBase* GetAsObjectBase(const vtkInformationKey* key) const;
555 vtkObjectBase* GetAsObjectBase(vtkInformationKey* key);
556
557 // Internal implementation details.
559
560 // Garbage collection support.
561 void ReportReferences(vtkGarbageCollector*) override;
562
563 // Report the object associated with the given key to the collector.
564 void ReportAsObjectBase(vtkInformationKey* key, vtkGarbageCollector* collector);
565
566private:
567 friend class vtkInformationKeyToInformationFriendship;
569
570 vtkInformation(const vtkInformation&) = delete;
571 void operator=(const vtkInformation&) = delete;
573};
574
575VTK_ABI_NAMESPACE_END
576#endif
general representation of visualization data
Superclass for all pipeline executives in VTK.
Detect and break reference loops.
a simple class to control print indentation
Definition vtkIndent.h:108
Key for vtkDataObject values.
Key for double values in vtkInformation.
Key for vtkExecutive/Port value pairs.
Key for vtkExecutive/Port value pair vectors.
Key for vtkIdType values in vtkInformation.
Key for vtkInformation values.
Key for integer values in vtkInformation.
internal structure for vtkInformation
Iterates over keys of an information object.
Key for vector-of-keys values.
Superclass for vtkInformation keys.
Key for vtkObjectBase values.
Key for pointer to pointer.
Key for string values in vtkInformation.
Key for unsigned long values in vtkInformation.
Key for variant values in vtkInformation.
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
void Remove(vtkInformationObjectBaseKey *key)
Get/Set an entry storing a vtkObjectBase instance.
vtkInformationVector * Get(vtkInformationInformationVectorKey *key)
Get/Set an entry storing a vtkInformationVector instance.
vtkInformationKey * Get(vtkInformationKeyVectorKey *key, int idx)
Get/Set an InformationKey-vector-valued entry.
void Get(vtkInformationDoubleVectorKey *key, double *value)
Get/Set an double-vector-valued entry.
void AppendUnique(vtkInformationKeyVectorKey *key, vtkInformationKey *value)
Get/Set an InformationKey-vector-valued entry.
void Set(vtkInformationInformationVectorKey *key, vtkInformationVector *)
Get/Set an entry storing a vtkInformationVector instance.
void Append(vtkInformationStringVectorKey *key, const char *value)
Get/Set a string-vector-valued entry.
void AppendUnique(vtkInformationKeyVectorKey *key, vtkInformationStringKey *value)
void CopyEntry(vtkInformation *from, vtkInformationInformationVectorKey *key, vtkTypeBool deep=0)
Copy the key/value pair associated with the given key in the given information object.
void Append(vtkInformationKeyVectorKey *key, vtkInformationDoubleVectorKey *value)
static vtkInformationKey * GetKey(vtkInformationDoubleVectorKey *key)
Upcast the given key instance.
void Remove(vtkInformationUnsignedLongKey *key)
Get/Set an unsigned-long-valued entry.
void Set(vtkInformationIntegerVectorKey *key, int value1, int value2, int value3)
Get/Set an integer-vector-valued entry.
void Set(vtkInformationDoubleVectorKey *key, double value1, double value2, double value3)
Get/Set an double-vector-valued entry.
int Get(vtkInformationIntegerKey *key)
Get/Set an integer-valued entry.
void AppendUnique(vtkInformationKeyVectorKey *key, vtkInformationDoubleKey *value)
void Append(vtkInformationKeyVectorKey *key, vtkInformationObjectBaseKey *value)
void Get(vtkInformationIntegerVectorKey *key, int *value)
Get/Set an integer-vector-valued entry.
void Remove(vtkInformationDoubleVectorKey *key)
Get/Set an double-vector-valued entry.
static vtkInformationKey * GetKey(vtkInformationStringVectorKey *key)
Upcast the given key instance.
static vtkInformationKey * GetKey(vtkInformationInformationKey *key)
Upcast the given key instance.
void CopyEntry(vtkInformation *from, vtkInformationKey *key, vtkTypeBool deep=0)
Copy the key/value pair associated with the given key in the given information object.
int Has(vtkInformationInformationVectorKey *key) VTK_FUTURE_CONST
Get/Set an entry storing a vtkInformationVector instance.
const char * Get(vtkInformationStringVectorKey *key, int idx=0)
Get/Set a string-vector-valued entry.
const vtkVariant * Get(vtkInformationVariantVectorKey *key)
Get/Set an variant-vector-valued entry.
void Set(vtkInformationVariantVectorKey *key, const vtkVariant &value1, const vtkVariant &value2, const vtkVariant &value3, const vtkVariant &value4, const vtkVariant &value5, const vtkVariant &value6)
Get/Set an variant-vector-valued entry.
void Set(vtkInformationKeyVectorKey *key, vtkInformationKey *const *value, int length)
Get/Set an InformationKey-vector-valued entry.
void Set(vtkInformationIntegerVectorKey *key, int value1, int value2, int value3, int value4, int value5, int value6)
Get/Set an integer-vector-valued entry.
int Has(vtkInformationStringVectorKey *key) VTK_FUTURE_CONST
Get/Set a string-vector-valued entry.
vtkInformationRequestKey * GetRequest() VTK_FUTURE_CONST
Get/Set the Request ivar.
void AppendUnique(vtkInformationKeyVectorKey *key, vtkInformationObjectBaseKey *value)
int Has(vtkInformationVariantVectorKey *key) VTK_FUTURE_CONST
Get/Set an variant-vector-valued entry.
void Set(vtkInformationIntegerPointerKey *key, int *value, int length)
Get/Set an integer-pointer-valued entry.
void AppendUnique(vtkInformationKeyVectorKey *key, vtkInformationStringVectorKey *value)
void CopyEntry(vtkInformation *from, vtkInformationUnsignedLongKey *key, vtkTypeBool deep=0)
Copy the key/value pair associated with the given key in the given information object.
void Set(vtkInformationIntegerVectorKey *key, const int *value, int length)
Get/Set an integer-vector-valued entry.
void Set(vtkInformationObjectBaseVectorKey *key, vtkObjectBase *value, int idx=0)
Manipulate a ObjectBaseVector entry.
const vtkVariant & Get(vtkInformationVariantVectorKey *key, int idx)
Get/Set an variant-vector-valued entry.
void Remove(vtkInformationKey *key)
Remove the given key and its data from this information object.
void AppendUnique(vtkInformationKeyVectorKey *key, vtkInformationIntegerVectorKey *value)
void Set(vtkInformationInformationKey *key, vtkInformation *)
Get/Set an entry storing another vtkInformation instance.
int Has(vtkInformationIntegerPointerKey *key) VTK_FUTURE_CONST
Get/Set an integer-pointer-valued entry.
double Get(vtkInformationDoubleKey *key)
Get/Set an double-valued entry.
void Remove(vtkInformationVariantVectorKey *key)
Get/Set an variant-vector-valued entry.
int Has(vtkInformationKey *key) VTK_FUTURE_CONST
Check whether the given key appears in this information object.
int Length(vtkInformationVariantVectorKey *key)
Get/Set an variant-vector-valued entry.
int Has(vtkInformationDoubleVectorKey *key) VTK_FUTURE_CONST
Get/Set an double-vector-valued entry.
static vtkInformationKey * GetKey(vtkInformationUnsignedLongKey *key)
Upcast the given key instance.
int Has(vtkInformationDoubleKey *key) VTK_FUTURE_CONST
Get/Set an double-valued entry.
int Has(vtkInformationIntegerVectorKey *key) VTK_FUTURE_CONST
Get/Set an integer-vector-valued entry.
void Append(vtkInformationDoubleVectorKey *key, double value)
Get/Set an double-vector-valued entry.
void SetRequest(vtkInformationRequestKey *request)
Get/Set the Request ivar.
void Set(vtkInformationObjectBaseKey *key, vtkObjectBase *)
Get/Set an entry storing a vtkObjectBase instance.
int Has(vtkInformationKeyVectorKey *key) VTK_FUTURE_CONST
Get/Set an InformationKey-vector-valued entry.
vtkDataObject VTK_WRAP_EXTERN * Get(vtkInformationDataObjectKey *key)
Get/Set an entry storing a vtkDataObject instance.
void AppendUnique(vtkInformationKeyVectorKey *key, vtkInformationUnsignedLongKey *value)
void Modified() override
Modified signature with no arguments that calls Modified on vtkObject superclass.
static vtkInformationKey * GetKey(vtkInformationInformationVectorKey *key)
Upcast the given key instance.
static vtkInformation * New()
void Append(vtkInformationKeyVectorKey *key, vtkInformationInformationVectorKey *value)
int Length(vtkInformationKeyVectorKey *key)
Get/Set an InformationKey-vector-valued entry.
void CopyEntry(vtkInformation *from, vtkInformationInformationKey *key, vtkTypeBool deep=0)
Copy the key/value pair associated with the given key in the given information object.
void Set(vtkInformationDoubleKey *key, double value)
Get/Set an double-valued entry.
void Append(vtkInformationKeyVectorKey *key, vtkInformationIntegerVectorKey *value)
int Length(vtkInformationDoubleVectorKey *key)
Get/Set an double-vector-valued entry.
vtkObjectBase * Get(vtkInformationObjectBaseVectorKey *key, int idx=0)
Manipulate a ObjectBaseVector entry.
int Has(vtkInformationObjectBaseVectorKey *key) VTK_FUTURE_CONST
Manipulate a ObjectBaseVector entry.
void Set(vtkInformationStringKey *key, const char *)
Get/Set a string-valued entry.
void CopyEntry(vtkInformation *from, vtkInformationIntegerKey *key, vtkTypeBool deep=0)
Copy the key/value pair associated with the given key in the given information object.
void Get(vtkInformationKeyVectorKey *key, vtkInformationKey **value)
Get/Set an InformationKey-vector-valued entry.
void CopyEntry(vtkInformation *from, vtkInformationDataObjectKey *key, vtkTypeBool deep=0)
Copy the key/value pair associated with the given key in the given information object.
void Get(vtkInformationIntegerPointerKey *key, int *value)
Get/Set an integer-pointer-valued entry.
void Set(vtkInformationVariantKey *key, const vtkVariant &value)
Get/Set an variant-valued entry.
void AppendUnique(vtkInformationKeyVectorKey *key, vtkInformationDoubleVectorKey *value)
static vtkInformationKey * GetKey(vtkInformationStringKey *key)
Upcast the given key instance.
void Set(vtkInformationVariantVectorKey *key, const vtkVariant *value, int length)
Get/Set an variant-vector-valued entry.
void Remove(vtkInformationStringKey *key)
Get/Set a string-valued entry.
void Append(vtkInformationKeyVectorKey *key, vtkInformationInformationKey *value)
void Append(vtkInformationKeyVectorKey *key, vtkInformationKey *value)
Get/Set an InformationKey-vector-valued entry.
int Has(vtkInformationRequestKey *key) VTK_FUTURE_CONST
Get/Set a request-valued entry.
void Remove(vtkInformationKeyVectorKey *key)
Get/Set an InformationKey-vector-valued entry.
void Remove(vtkInformationObjectBaseVectorKey *key, int indexToRemove)
Manipulate a ObjectBaseVector entry.
void Remove(vtkInformationInformationKey *key)
Get/Set an entry storing another vtkInformation instance.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkInformationKey * GetKey(vtkInformationVariantVectorKey *key)
Upcast the given key instance.
void Remove(vtkInformationObjectBaseVectorKey *key)
Manipulate a ObjectBaseVector entry.
void Clear()
Clear all information entries.
int Has(vtkInformationIntegerKey *key) VTK_FUTURE_CONST
Get/Set an integer-valued entry.
void CopyEntry(vtkInformation *from, vtkInformationVariantKey *key, vtkTypeBool deep=0)
Copy the key/value pair associated with the given key in the given information object.
vtkInformation * Get(vtkInformationInformationKey *key)
Get/Set an entry storing another vtkInformation instance.
void Append(vtkInformationKeyVectorKey *key, vtkInformationUnsignedLongKey *value)
void Set(vtkInformationDoubleVectorKey *key, double value1, double value2, double value3, double value4, double value5, double value6)
Get/Set an double-vector-valued entry.
vtkIdType Get(vtkInformationIdTypeKey *key)
Get/Set a vtkIdType-valued entry.
void AppendUnique(vtkInformationKeyVectorKey *key, vtkInformationInformationVectorKey *value)
void CopyEntry(vtkInformation *from, vtkInformationIntegerVectorKey *key, vtkTypeBool deep=0)
Copy the key/value pair associated with the given key in the given information object.
const vtkVariant & Get(vtkInformationVariantKey *key)
Get/Set an variant-valued entry.
void Remove(vtkInformationIntegerPointerKey *key)
Get/Set an integer-pointer-valued entry.
int Has(vtkInformationInformationKey *key) VTK_FUTURE_CONST
Get/Set an entry storing another vtkInformation instance.
const char * Get(vtkInformationStringKey *key)
Get/Set a string-valued entry.
void Remove(vtkInformationVariantKey *key)
Get/Set an variant-valued entry.
void CopyEntry(vtkInformation *from, vtkInformationVariantVectorKey *key, vtkTypeBool deep=0)
Copy the key/value pair associated with the given key in the given information object.
static vtkInformationKey * GetKey(vtkInformationDataObjectKey *key)
Upcast the given key instance.
void Append(vtkInformationIntegerVectorKey *key, int value)
Get/Set an integer-vector-valued entry.
void Append(vtkInformationStringVectorKey *key, const std::string &value)
Get/Set a string-vector-valued entry.
void Remove(vtkInformationIntegerVectorKey *key)
Get/Set an integer-vector-valued entry.
void Set(vtkInformationDoubleVectorKey *key, const double *value, int length)
Get/Set an double-vector-valued entry.
void Set(vtkInformationStringVectorKey *key, const std::string &value, int idx=0)
Get/Set a string-vector-valued entry.
static vtkInformationKey * GetKey(vtkInformationRequestKey *key)
Upcast the given key instance.
void Remove(vtkInformationDoubleKey *key)
Get/Set an double-valued entry.
int GetNumberOfKeys()
Return the number of keys in this information object (as would be returned by iterating over the keys...
void Remove(vtkInformationInformationVectorKey *key)
Get/Set an entry storing a vtkInformationVector instance.
void Modified(vtkInformationKey *key)
Modified signature that takes an information key as an argument.
void CopyEntry(vtkInformation *from, vtkInformationStringKey *key, vtkTypeBool deep=0)
Copy the key/value pair associated with the given key in the given information object.
void AppendUnique(vtkInformationKeyVectorKey *key, vtkInformationDataObjectKey *value)
int Has(vtkInformationDataObjectKey *key) VTK_FUTURE_CONST
Get/Set an entry storing a vtkDataObject instance.
void Append(vtkInformationKeyVectorKey *key, vtkInformationStringKey *value)
static vtkInformationKey * GetKey(vtkInformationKey *key)
Upcast the given key instance.
void Append(vtkInformationKeyVectorKey *key, vtkInformationDataObjectKey *value)
int * Get(vtkInformationIntegerPointerKey *key)
Get/Set an integer-pointer-valued entry.
void Append(vtkInformationObjectBaseVectorKey *key, vtkObjectBase *data)
Manipulate a ObjectBaseVector entry.
void CopyEntry(vtkInformation *from, vtkInformationDoubleVectorKey *key, vtkTypeBool deep=0)
Copy the key/value pair associated with the given key in the given information object.
void CopyEntries(vtkInformation *from, vtkInformationKeyVectorKey *key, vtkTypeBool deep=0)
Use the given key to lookup a list of other keys in the given information object.
bool UsesGarbageCollector() const override
Initiate garbage collection when a reference is removed.
void Set(vtkInformationUnsignedLongKey *key, unsigned long value)
Get/Set an unsigned-long-valued entry.
void Set(vtkInformationRequestKey *key)
Get/Set a request-valued entry.
void Append(vtkInformationKeyVectorKey *key, vtkInformationDoubleKey *value)
void Get(vtkInformationVariantVectorKey *key, vtkVariant *value)
Get/Set an variant-vector-valued entry.
void Append(vtkInformationKeyVectorKey *key, vtkInformationStringVectorKey *value)
int * Get(vtkInformationIntegerVectorKey *key)
Get/Set an integer-vector-valued entry.
int Has(vtkInformationVariantKey *key) VTK_FUTURE_CONST
Get/Set an variant-valued entry.
static vtkInformationKey * GetKey(vtkInformationVariantKey *key)
Upcast the given key instance.
int Has(vtkInformationUnsignedLongKey *key) VTK_FUTURE_CONST
Get/Set an unsigned-long-valued entry.
int Length(vtkInformationIntegerVectorKey *key)
Get/Set an integer-vector-valued entry.
static vtkInformationKey * GetKey(vtkInformationIntegerKey *key)
Upcast the given key instance.
static vtkInformationKey * GetKey(vtkInformationDoubleKey *key)
Upcast the given key instance.
unsigned long Get(vtkInformationUnsignedLongKey *key)
Get/Set an unsigned-long-valued entry.
void CopyEntry(vtkInformation *from, vtkInformationRequestKey *key, vtkTypeBool deep=0)
Copy the key/value pair associated with the given key in the given information object.
void Append(vtkInformationKeyVectorKey *key, vtkInformationIntegerKey *value)
void CopyEntry(vtkInformation *from, vtkInformationStringVectorKey *key, vtkTypeBool deep=0)
Copy the key/value pair associated with the given key in the given information object.
void Set(vtkInformationVariantVectorKey *key, const vtkVariant &value1, const vtkVariant &value2, const vtkVariant &value3)
Get/Set an variant-vector-valued entry.
int Get(vtkInformationIntegerVectorKey *key, int idx)
Get/Set an integer-vector-valued entry.
int Length(vtkInformationIntegerPointerKey *key)
Get/Set an integer-pointer-valued entry.
vtkInformationKey ** Get(vtkInformationKeyVectorKey *key)
Get/Set an InformationKey-vector-valued entry.
void Remove(vtkInformationStringVectorKey *key)
Get/Set a string-vector-valued entry.
void Remove(vtkInformationDataObjectKey *key)
Get/Set an entry storing a vtkDataObject instance.
double Get(vtkInformationDoubleVectorKey *key, int idx)
Get/Set an double-vector-valued entry.
void Remove(vtkInformationKeyVectorKey *key, vtkInformationKey *value)
Get/Set an InformationKey-vector-valued entry.
void Set(vtkInformationStringVectorKey *key, const char *value, int idx=0)
Get/Set a string-vector-valued entry.
int Length(vtkInformationStringVectorKey *key)
Get/Set a string-vector-valued entry.
int Has(vtkInformationIdTypeKey *key) VTK_FUTURE_CONST
Get/Set a vtkIdType-valued entry.
vtkObjectBase * Get(vtkInformationObjectBaseKey *key)
Get/Set an entry storing a vtkObjectBase instance.
void AppendUnique(vtkInformationKeyVectorKey *key, vtkInformationIntegerKey *value)
double * Get(vtkInformationDoubleVectorKey *key)
Get/Set an double-vector-valued entry.
void AppendUnique(vtkInformationKeyVectorKey *key, vtkInformationInformationKey *value)
void Remove(vtkInformationObjectBaseVectorKey *key, vtkObjectBase *objectToRemove)
Manipulate a ObjectBaseVector entry.
void Set(vtkInformationDataObjectKey *key, vtkDataObject VTK_WRAP_EXTERN *)
Get/Set an entry storing a vtkDataObject instance.
void Append(vtkInformationVariantVectorKey *key, const vtkVariant &value)
Get/Set an variant-vector-valued entry.
void CopyEntry(vtkInformation *from, vtkInformationObjectBaseVectorKey *key, vtkTypeBool deep=0)
Copy the key/value pair associated with the given key in the given information object.
void Copy(vtkInformation *from, vtkTypeBool deep=0)
Copy all information entries from the given vtkInformation instance.
void Set(vtkInformationIntegerKey *key, int value)
Get/Set an integer-valued entry.
void Remove(vtkInformationRequestKey *key)
Get/Set a request-valued entry.
void Remove(vtkInformationIntegerKey *key)
Get/Set an integer-valued entry.
int Length(vtkInformationObjectBaseVectorKey *key)
Manipulate a ObjectBaseVector entry.
void Remove(vtkInformationIdTypeKey *key)
Get/Set a vtkIdType-valued entry.
int Has(vtkInformationStringKey *key) VTK_FUTURE_CONST
Get/Set a string-valued entry.
void PrintKeys(ostream &os, vtkIndent indent)
void Set(vtkInformationStringKey *key, const std::string &)
Get/Set a string-valued entry.
void Set(vtkInformationIdTypeKey *key, vtkIdType value)
Get/Set a vtkIdType-valued entry.
void Append(vtkInformation *from, vtkTypeBool deep=0)
Append all information entries from the given vtkInformation instance.
static vtkInformationKey * GetKey(vtkInformationIntegerVectorKey *key)
Upcast the given key instance.
int Has(vtkInformationObjectBaseKey *key) VTK_FUTURE_CONST
Get/Set an entry storing a vtkObjectBase instance.
abstract base class for most VTK objects
abstract base class for most VTK objects
Definition vtkObject.h:162
A type representing the union of many types.
Definition vtkVariant.h:162
int vtkTypeBool
Definition vtkABI.h:64
int vtkIdType
Definition vtkType.h:332
#define VTK_MARSHALMANUAL