/usr/include/vtk-6.3/vtkInformation.h is in libvtk6-dev 6.3.0+dfsg1-5.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 | /*=========================================================================
Program: Visualization Toolkit
Module: vtkInformation.h
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
This software is distributed WITHOUT ANY WARRANTY; without even
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE. See the above copyright notice for more information.
=========================================================================*/
// .NAME vtkInformation - Store vtkAlgorithm input/output information.
// .SECTION Description
// vtkInformation represents information and/or data for one input or
// one output of a vtkAlgorithm. It maps from keys to values of
// several data types. Instances of this class are collected in
// vtkInformationVector instances and passed to
// vtkAlgorithm::ProcessRequest calls. The information and
// data referenced by the instance on a particular input or output
// define the request made to the vtkAlgorithm instance.
#ifndef vtkInformation_h
#define vtkInformation_h
#include "vtkCommonCoreModule.h" // For export macro
#include "vtkObject.h"
// If being "compiled" by gccxml, pretend VTKCOMMONCORE_EXPORT is nothing
// for this header file. The per-method usage of VTKCOMMONCORE_EXPORT in
// this header file leads to gccxml errors without this workaround.
//
#ifdef __GCCXML__
#undef VTKCOMMONCORE_EXPORT
#define VTKCOMMONCORE_EXPORT
#endif
class vtkDataObject;
class vtkExecutive;
class vtkInformationDataObjectKey;
class vtkInformationDoubleKey;
class vtkInformationDoubleVectorKey;
class vtkInformationExecutivePortKey;
class vtkInformationExecutivePortVectorKey;
class vtkInformationIdTypeKey;
class vtkInformationInformationKey;
class vtkInformationInformationVectorKey;
class vtkInformationIntegerKey;
class vtkInformationIntegerPointerKey;
class vtkInformationIntegerVectorKey;
class vtkInformationInternals;
class vtkInformationKey;
class vtkInformationKeyToInformationFriendship;
class vtkInformationKeyVectorKey;
class vtkInformationObjectBaseKey;
class vtkInformationRequestKey;
class vtkInformationStringKey;
class vtkInformationStringVectorKey;
class vtkInformationUnsignedLongKey;
class vtkInformationVariantKey;
class vtkInformationVariantVectorKey;
class vtkInformationVector;
class vtkVariant;
#if defined(_WIN32)
# define VTK_INFORMATION_EXPORT
#else
# define VTK_INFORMATION_EXPORT VTKCOMMONCORE_EXPORT
#endif
class VTK_INFORMATION_EXPORT vtkInformation : public vtkObject
{
public:
VTKCOMMONCORE_EXPORT static vtkInformation *New();
vtkTypeMacro(vtkInformation,vtkObject);
VTKCOMMONCORE_EXPORT void PrintSelf(ostream& os, vtkIndent indent);
VTKCOMMONCORE_EXPORT void PrintKeys(ostream& os, vtkIndent indent);
// Description:
// Modified signature with no arguments that calls Modified
// on vtkObject superclass.
VTKCOMMONCORE_EXPORT void Modified();
// Description:
// Modified signature that takes an information key as an argument.
// Sets the new MTime and invokes a modified event with the
// information key as call data.
VTKCOMMONCORE_EXPORT void Modified(vtkInformationKey* key);
// Description:
// Clear all information entries.
VTKCOMMONCORE_EXPORT void Clear();
// Description:
// Return the number of keys in this information object (as would be returned
// by iterating over the keys).
VTKCOMMONCORE_EXPORT int GetNumberOfKeys();
// Description:
// Copy all information entries from the given vtkInformation
// instance. Any previously existing entries are removed. If
// deep==1, a deep copy of the information structure is performed (new
// instances of any contained vtkInformation and vtkInformationVector
// objects are created).
VTKCOMMONCORE_EXPORT void Copy(vtkInformation* from, int deep=0);
// Description:
// Copy the key/value pair associated with the given key in the
// given information object. If deep=1, a deep copy of the information
// structure is performed (new instances of any contained vtkInformation and
// vtkInformationVector objects are created).
VTKCOMMONCORE_EXPORT void CopyEntry(vtkInformation* from, vtkInformationKey* key, int deep=0);
VTKCOMMONCORE_EXPORT void CopyEntry(vtkInformation* from, vtkInformationDataObjectKey* key, int deep=0);
VTKCOMMONCORE_EXPORT void CopyEntry(vtkInformation* from, vtkInformationDoubleVectorKey* key, int deep=0);
VTKCOMMONCORE_EXPORT void CopyEntry(vtkInformation* from, vtkInformationVariantKey* key, int deep=0);
VTKCOMMONCORE_EXPORT void CopyEntry(vtkInformation* from, vtkInformationVariantVectorKey* key, int deep=0);
VTKCOMMONCORE_EXPORT void CopyEntry(vtkInformation* from, vtkInformationInformationKey* key, int deep=0);
VTKCOMMONCORE_EXPORT void CopyEntry(vtkInformation* from, vtkInformationInformationVectorKey* key, int deep=0);
VTKCOMMONCORE_EXPORT void CopyEntry(vtkInformation* from, vtkInformationIntegerKey* key, int deep=0);
VTKCOMMONCORE_EXPORT void CopyEntry(vtkInformation* from, vtkInformationIntegerVectorKey* key, int deep=0);
VTKCOMMONCORE_EXPORT void CopyEntry(vtkInformation* from, vtkInformationRequestKey* key, int deep=0);
VTKCOMMONCORE_EXPORT void CopyEntry(vtkInformation* from, vtkInformationStringKey* key, int deep=0);
VTKCOMMONCORE_EXPORT void CopyEntry(vtkInformation* from, vtkInformationStringVectorKey* key, int deep=0);
VTKCOMMONCORE_EXPORT void CopyEntry(vtkInformation* from, vtkInformationUnsignedLongKey* key, int deep=0);
// Description:
// Use the given key to lookup a list of other keys in the given
// information object. The key/value pairs associated with these
// other keys will be copied. If deep==1, a deep copy of the
// information structure is performed.
VTKCOMMONCORE_EXPORT void CopyEntries(vtkInformation* from, vtkInformationKeyVectorKey* key, int deep=0);
// Description:
// Check whether the given key appears in this information object.
VTKCOMMONCORE_EXPORT int Has(vtkInformationKey* key);
// Description:
// Remove the given key and its data from this information object.
VTKCOMMONCORE_EXPORT void Remove(vtkInformationKey* key);
// Description:
// Get/Set a request-valued entry.
VTKCOMMONCORE_EXPORT void Set(vtkInformationRequestKey* key);
VTKCOMMONCORE_EXPORT void Remove(vtkInformationRequestKey* key);
VTKCOMMONCORE_EXPORT int Has(vtkInformationRequestKey* key);
// Description:
// Get/Set an integer-valued entry.
VTKCOMMONCORE_EXPORT void Set(vtkInformationIntegerKey* key, int value);
VTKCOMMONCORE_EXPORT int Get(vtkInformationIntegerKey* key);
VTKCOMMONCORE_EXPORT void Remove(vtkInformationIntegerKey* key);
VTKCOMMONCORE_EXPORT int Has(vtkInformationIntegerKey* key);
// Description:
// Get/Set a vtkIdType-valued entry.
VTKCOMMONCORE_EXPORT void Set(vtkInformationIdTypeKey* key, vtkIdType value);
VTKCOMMONCORE_EXPORT vtkIdType Get(vtkInformationIdTypeKey* key);
VTKCOMMONCORE_EXPORT void Remove(vtkInformationIdTypeKey* key);
VTKCOMMONCORE_EXPORT int Has(vtkInformationIdTypeKey* key);
// Description:
// Get/Set an double-valued entry.
VTKCOMMONCORE_EXPORT void Set(vtkInformationDoubleKey* key, double value);
VTKCOMMONCORE_EXPORT double Get(vtkInformationDoubleKey* key);
VTKCOMMONCORE_EXPORT void Remove(vtkInformationDoubleKey* key);
VTKCOMMONCORE_EXPORT int Has(vtkInformationDoubleKey* key);
// Description:
// Get/Set an variant-valued entry.
VTKCOMMONCORE_EXPORT void Set(vtkInformationVariantKey* key, const vtkVariant& value);
VTKCOMMONCORE_EXPORT const vtkVariant& Get(vtkInformationVariantKey* key);
VTKCOMMONCORE_EXPORT void Remove(vtkInformationVariantKey* key);
VTKCOMMONCORE_EXPORT int Has(vtkInformationVariantKey* key);
// Description:
// Get/Set an integer-vector-valued entry.
VTKCOMMONCORE_EXPORT void Append(vtkInformationIntegerVectorKey* key, int value);
VTKCOMMONCORE_EXPORT void Set(vtkInformationIntegerVectorKey* key, int* value, int length);
VTKCOMMONCORE_EXPORT void Set(vtkInformationIntegerVectorKey* key, int value1,
int value2, int value3);
VTKCOMMONCORE_EXPORT void Set(vtkInformationIntegerVectorKey* key,
int value1, int value2, int value3,
int value4, int value5, int value6);
VTKCOMMONCORE_EXPORT int* Get(vtkInformationIntegerVectorKey* key);
VTKCOMMONCORE_EXPORT int Get(vtkInformationIntegerVectorKey* key, int idx);
VTKCOMMONCORE_EXPORT void Get(vtkInformationIntegerVectorKey* key, int* value);
VTKCOMMONCORE_EXPORT int Length(vtkInformationIntegerVectorKey* key);
VTKCOMMONCORE_EXPORT void Remove(vtkInformationIntegerVectorKey* key);
VTKCOMMONCORE_EXPORT int Has(vtkInformationIntegerVectorKey* key);
// Description:
// Get/Set a string-vector-valued entry.
VTKCOMMONCORE_EXPORT void Append(vtkInformationStringVectorKey* key, const char* value);
VTKCOMMONCORE_EXPORT void Set(vtkInformationStringVectorKey* key, const char* value, int idx = 0);
VTKCOMMONCORE_EXPORT const char* Get(vtkInformationStringVectorKey* key, int idx = 0);
VTKCOMMONCORE_EXPORT int Length(vtkInformationStringVectorKey* key);
VTKCOMMONCORE_EXPORT void Remove(vtkInformationStringVectorKey* key);
VTKCOMMONCORE_EXPORT int Has(vtkInformationStringVectorKey* key);
// Description:
// Get/Set an integer-pointer-valued entry.
VTKCOMMONCORE_EXPORT void Set(vtkInformationIntegerPointerKey* key, int* value, int length);
VTKCOMMONCORE_EXPORT int* Get(vtkInformationIntegerPointerKey* key);
VTKCOMMONCORE_EXPORT void Get(vtkInformationIntegerPointerKey* key, int* value);
VTKCOMMONCORE_EXPORT int Length(vtkInformationIntegerPointerKey* key);
VTKCOMMONCORE_EXPORT void Remove(vtkInformationIntegerPointerKey* key);
VTKCOMMONCORE_EXPORT int Has(vtkInformationIntegerPointerKey* key);
// Description:
// Get/Set an unsigned-long-valued entry.
VTKCOMMONCORE_EXPORT void Set(vtkInformationUnsignedLongKey* key, unsigned long value);
VTKCOMMONCORE_EXPORT unsigned long Get(vtkInformationUnsignedLongKey* key);
VTKCOMMONCORE_EXPORT void Remove(vtkInformationUnsignedLongKey* key);
VTKCOMMONCORE_EXPORT int Has(vtkInformationUnsignedLongKey* key);
// Description:
// Get/Set an double-vector-valued entry.
VTKCOMMONCORE_EXPORT void Append(vtkInformationDoubleVectorKey* key, double value);
VTKCOMMONCORE_EXPORT void Set(vtkInformationDoubleVectorKey* key, double* value, int length);
VTKCOMMONCORE_EXPORT void Set(vtkInformationDoubleVectorKey* key, double value1,
double value2, double value3);
VTKCOMMONCORE_EXPORT void Set(vtkInformationDoubleVectorKey* key,
double value1, double value2, double value3,
double value4, double value5, double value6);
VTKCOMMONCORE_EXPORT double* Get(vtkInformationDoubleVectorKey* key);
VTKCOMMONCORE_EXPORT double Get(vtkInformationDoubleVectorKey* key, int idx);
VTKCOMMONCORE_EXPORT void Get(vtkInformationDoubleVectorKey* key, double* value);
VTKCOMMONCORE_EXPORT int Length(vtkInformationDoubleVectorKey* key);
VTKCOMMONCORE_EXPORT void Remove(vtkInformationDoubleVectorKey* key);
VTKCOMMONCORE_EXPORT int Has(vtkInformationDoubleVectorKey* key);
// Description:
// Get/Set an variant-vector-valued entry.
VTKCOMMONCORE_EXPORT void Append(vtkInformationVariantVectorKey* key, const vtkVariant& value);
VTKCOMMONCORE_EXPORT void Set(vtkInformationVariantVectorKey* key, const vtkVariant* value, int length);
VTKCOMMONCORE_EXPORT void Set(vtkInformationVariantVectorKey* key, const vtkVariant& value1,
const vtkVariant& value2, const vtkVariant& value3);
VTKCOMMONCORE_EXPORT void Set(vtkInformationVariantVectorKey* key,
const vtkVariant& value1, const vtkVariant& value2, const vtkVariant& value3,
const vtkVariant& value4, const vtkVariant& value5, const vtkVariant& value6);
VTKCOMMONCORE_EXPORT const vtkVariant* Get(vtkInformationVariantVectorKey* key);
VTKCOMMONCORE_EXPORT const vtkVariant& Get(vtkInformationVariantVectorKey* key, int idx);
VTKCOMMONCORE_EXPORT void Get(vtkInformationVariantVectorKey* key, vtkVariant* value);
VTKCOMMONCORE_EXPORT int Length(vtkInformationVariantVectorKey* key);
VTKCOMMONCORE_EXPORT void Remove(vtkInformationVariantVectorKey* key);
VTKCOMMONCORE_EXPORT int Has(vtkInformationVariantVectorKey* key);
// Description:
// Get/Set an InformationKey-vector-valued entry.
VTKCOMMONCORE_EXPORT void Append(vtkInformationKeyVectorKey* key, vtkInformationKey* value);
VTKCOMMONCORE_EXPORT void AppendUnique(vtkInformationKeyVectorKey* key, vtkInformationKey* value);
VTKCOMMONCORE_EXPORT void Set(vtkInformationKeyVectorKey* key, vtkInformationKey** value, int length);
VTKCOMMONCORE_EXPORT void Remove(vtkInformationKeyVectorKey* key, vtkInformationKey* value);
VTKCOMMONCORE_EXPORT vtkInformationKey** Get(vtkInformationKeyVectorKey* key);
VTKCOMMONCORE_EXPORT vtkInformationKey* Get(vtkInformationKeyVectorKey* key, int idx);
VTKCOMMONCORE_EXPORT void Get(vtkInformationKeyVectorKey* key, vtkInformationKey** value);
VTKCOMMONCORE_EXPORT int Length(vtkInformationKeyVectorKey* key);
VTKCOMMONCORE_EXPORT void Remove(vtkInformationKeyVectorKey* key);
VTKCOMMONCORE_EXPORT int Has(vtkInformationKeyVectorKey* key);
// Provide extra overloads of this method to avoid requiring user
// code to include the headers for these key types. Avoid wrapping
// them because the original method can be called from the wrappers
// anyway and this causes a python help string to be too long.
//BTX
VTKCOMMONCORE_EXPORT void Append(vtkInformationKeyVectorKey* key,
vtkInformationDataObjectKey* value);
VTKCOMMONCORE_EXPORT void Append(vtkInformationKeyVectorKey* key, vtkInformationDoubleKey* value);
VTKCOMMONCORE_EXPORT void Append(vtkInformationKeyVectorKey* key,
vtkInformationDoubleVectorKey* value);
VTKCOMMONCORE_EXPORT void Append(vtkInformationKeyVectorKey* key,
vtkInformationInformationKey* value);
VTKCOMMONCORE_EXPORT void Append(vtkInformationKeyVectorKey* key,
vtkInformationInformationVectorKey* value);
VTKCOMMONCORE_EXPORT void Append(vtkInformationKeyVectorKey* key,
vtkInformationIntegerKey* value);
VTKCOMMONCORE_EXPORT void Append(vtkInformationKeyVectorKey* key,
vtkInformationIntegerVectorKey* value);
VTKCOMMONCORE_EXPORT void Append(vtkInformationKeyVectorKey* key, vtkInformationStringKey* value);
VTKCOMMONCORE_EXPORT void Append(vtkInformationKeyVectorKey* key,
vtkInformationStringVectorKey* value);
VTKCOMMONCORE_EXPORT void Append(vtkInformationKeyVectorKey* key,
vtkInformationObjectBaseKey* value);
VTKCOMMONCORE_EXPORT void Append(vtkInformationKeyVectorKey* key,
vtkInformationUnsignedLongKey* value);
VTKCOMMONCORE_EXPORT void AppendUnique(vtkInformationKeyVectorKey* key,
vtkInformationDataObjectKey* value);
VTKCOMMONCORE_EXPORT void AppendUnique(vtkInformationKeyVectorKey* key,
vtkInformationDoubleKey* value);
VTKCOMMONCORE_EXPORT void AppendUnique(vtkInformationKeyVectorKey* key,
vtkInformationDoubleVectorKey* value);
VTKCOMMONCORE_EXPORT void AppendUnique(vtkInformationKeyVectorKey* key,
vtkInformationInformationKey* value);
VTKCOMMONCORE_EXPORT void AppendUnique(vtkInformationKeyVectorKey* key,
vtkInformationInformationVectorKey* value);
VTKCOMMONCORE_EXPORT void AppendUnique(vtkInformationKeyVectorKey* key,
vtkInformationIntegerKey* value);
VTKCOMMONCORE_EXPORT void AppendUnique(vtkInformationKeyVectorKey* key,
vtkInformationIntegerVectorKey* value);
VTKCOMMONCORE_EXPORT void AppendUnique(vtkInformationKeyVectorKey* key,
vtkInformationStringKey* value);
VTKCOMMONCORE_EXPORT void AppendUnique(vtkInformationKeyVectorKey* key,
vtkInformationStringVectorKey* value);
VTKCOMMONCORE_EXPORT void AppendUnique(vtkInformationKeyVectorKey* key,
vtkInformationObjectBaseKey* value);
VTKCOMMONCORE_EXPORT void AppendUnique(vtkInformationKeyVectorKey* key,
vtkInformationUnsignedLongKey* value);
//ETX
// Description:
// Get/Set a string-valued entry.
VTKCOMMONCORE_EXPORT void Set(vtkInformationStringKey* key, const char*);
VTKCOMMONCORE_EXPORT const char* Get(vtkInformationStringKey* key);
VTKCOMMONCORE_EXPORT void Remove(vtkInformationStringKey* key);
VTKCOMMONCORE_EXPORT int Has(vtkInformationStringKey* key);
// Description:
// Get/Set an entry storing another vtkInformation instance.
VTKCOMMONCORE_EXPORT void Set(vtkInformationInformationKey* key, vtkInformation*);
VTKCOMMONCORE_EXPORT vtkInformation* Get(vtkInformationInformationKey* key);
VTKCOMMONCORE_EXPORT void Remove(vtkInformationInformationKey* key);
VTKCOMMONCORE_EXPORT int Has(vtkInformationInformationKey* key);
// Description:
// Get/Set an entry storing a vtkInformationVector instance.
VTKCOMMONCORE_EXPORT void Set(vtkInformationInformationVectorKey* key, vtkInformationVector*);
VTKCOMMONCORE_EXPORT vtkInformationVector* Get(vtkInformationInformationVectorKey* key);
VTKCOMMONCORE_EXPORT void Remove(vtkInformationInformationVectorKey* key);
VTKCOMMONCORE_EXPORT int Has(vtkInformationInformationVectorKey* key);
// Description:
// Get/Set an entry storing a vtkObjectBase instance.
VTKCOMMONCORE_EXPORT void Set(vtkInformationObjectBaseKey* key, vtkObjectBase*);
VTKCOMMONCORE_EXPORT vtkObjectBase* Get(vtkInformationObjectBaseKey* key);
VTKCOMMONCORE_EXPORT void Remove(vtkInformationObjectBaseKey* key);
VTKCOMMONCORE_EXPORT int Has(vtkInformationObjectBaseKey* key);
// Description:
// Get/Set an entry storing a vtkDataObject instance.
VTKCOMMONCORE_EXPORT void Set(vtkInformationDataObjectKey* key,
vtkDataObject VTK_WRAP_EXTERN *);
VTKCOMMONCORE_EXPORT vtkDataObject VTK_WRAP_EXTERN* Get(vtkInformationDataObjectKey* key);
VTKCOMMONCORE_EXPORT void Remove(vtkInformationDataObjectKey* key);
VTKCOMMONCORE_EXPORT int Has(vtkInformationDataObjectKey* key);
// Description:
// Upcast the given key instance.
VTKCOMMONCORE_EXPORT static vtkInformationKey* GetKey(vtkInformationDataObjectKey* key);
VTKCOMMONCORE_EXPORT static vtkInformationKey* GetKey(vtkInformationDoubleKey* key);
VTKCOMMONCORE_EXPORT static vtkInformationKey* GetKey(vtkInformationDoubleVectorKey* key);
VTKCOMMONCORE_EXPORT static vtkInformationKey* GetKey(vtkInformationInformationKey* key);
VTKCOMMONCORE_EXPORT static vtkInformationKey* GetKey(vtkInformationInformationVectorKey* key);
VTKCOMMONCORE_EXPORT static vtkInformationKey* GetKey(vtkInformationIntegerKey* key);
VTKCOMMONCORE_EXPORT static vtkInformationKey* GetKey(vtkInformationIntegerVectorKey* key);
VTKCOMMONCORE_EXPORT static vtkInformationKey* GetKey(vtkInformationRequestKey* key);
VTKCOMMONCORE_EXPORT static vtkInformationKey* GetKey(vtkInformationStringKey* key);
VTKCOMMONCORE_EXPORT static vtkInformationKey* GetKey(vtkInformationStringVectorKey* key);
VTKCOMMONCORE_EXPORT static vtkInformationKey* GetKey(vtkInformationKey* key);
VTKCOMMONCORE_EXPORT static vtkInformationKey* GetKey(vtkInformationUnsignedLongKey* key);
VTKCOMMONCORE_EXPORT static vtkInformationKey* GetKey(vtkInformationVariantKey* key);
VTKCOMMONCORE_EXPORT static vtkInformationKey* GetKey(vtkInformationVariantVectorKey* key);
// Description:
// Initiate garbage collection when a reference is removed.
VTKCOMMONCORE_EXPORT virtual void Register(vtkObjectBase* o);
VTKCOMMONCORE_EXPORT virtual void UnRegister(vtkObjectBase* o);
// Description:
// Get/Set the Request ivar
VTKCOMMONCORE_EXPORT void SetRequest(vtkInformationRequestKey* request);
VTKCOMMONCORE_EXPORT vtkInformationRequestKey* GetRequest();
protected:
VTKCOMMONCORE_EXPORT vtkInformation();
VTKCOMMONCORE_EXPORT ~vtkInformation();
// Get/Set a map entry directly through the vtkObjectBase instance
// representing the value. Used internally to manage the map.
VTKCOMMONCORE_EXPORT void SetAsObjectBase(
vtkInformationKey* key, vtkObjectBase* value);
VTKCOMMONCORE_EXPORT const vtkObjectBase* GetAsObjectBase(
const vtkInformationKey* key) const;
VTKCOMMONCORE_EXPORT vtkObjectBase* GetAsObjectBase(vtkInformationKey* key);
// Internal implementation details.
vtkInformationInternals* Internal;
// Garbage collection support.
VTKCOMMONCORE_EXPORT virtual void ReportReferences(vtkGarbageCollector*);
// Report the object associated with the given key to the collector.
VTKCOMMONCORE_EXPORT void ReportAsObjectBase(vtkInformationKey* key,
vtkGarbageCollector* collector);
private:
//BTX
friend class vtkInformationKeyToInformationFriendship;
friend class vtkInformationIterator;
//ETX
private:
VTKCOMMONCORE_EXPORT vtkInformation(const vtkInformation&); // Not implemented.
VTKCOMMONCORE_EXPORT void operator=(const vtkInformation&); // Not implemented.
vtkInformationRequestKey *Request;
};
#endif
// VTK-HeaderTest-Exclude: vtkInformation.h
|