Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members | Related Pages

vtkInformationVector.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkInformationVector.h,v $
00005 
00006   Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
00007   All rights reserved.
00008   See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
00009 
00010      This software is distributed WITHOUT ANY WARRANTY; without even
00011      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
00012      PURPOSE.  See the above copyright notice for more information.
00013 
00014 =========================================================================*/
00031 #ifndef __vtkInformationVector_h
00032 #define __vtkInformationVector_h
00033 
00034 #include "vtkObject.h"
00035 
00036 class vtkInformation;
00037 class vtkInformationVectorInternals;
00038 
00039 class VTK_FILTERING_EXPORT vtkInformationVector : public vtkObject
00040 {
00041 public:
00042   static vtkInformationVector *New();
00043   vtkTypeRevisionMacro(vtkInformationVector,vtkObject);
00044   void PrintSelf(ostream& os, vtkIndent indent);
00045 
00047 
00051   int GetNumberOfInformationObjects() { return this->NumberOfInformationObjects; };
00052   void SetNumberOfInformationObjects(int n);
00054 
00056 
00060   void SetInformationObject(int index, vtkInformation* info);
00061   vtkInformation* GetInformationObject(int index);
00063 
00065 
00066   void Append(vtkInformation* info);
00067   void Remove(vtkInformation* info);
00069 
00071 
00072   virtual void Register(vtkObjectBase* o);
00073   virtual void UnRegister(vtkObjectBase* o);
00075 
00081   void Copy(vtkInformationVector* from, int deep=0);
00082 
00083 protected:
00084   vtkInformationVector();
00085   ~vtkInformationVector();
00086 
00087   // Internal implementation details.
00088   vtkInformationVectorInternals* Internal;
00089 
00090   int NumberOfInformationObjects;
00091   
00092   // Garbage collection support.
00093   virtual void ReportReferences(vtkGarbageCollector*);
00094 private:
00095   vtkInformationVector(const vtkInformationVector&);  // Not implemented.
00096   void operator=(const vtkInformationVector&);  // Not implemented.
00097 };
00098 
00099 #endif

Generated on Mon Jan 21 23:07:19 2008 for VTK by  doxygen 1.4.3-20050530