00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkInformationKeyVectorKey.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 =========================================================================*/ 00032 #ifndef __vtkInformationKeyVectorKey_h 00033 #define __vtkInformationKeyVectorKey_h 00034 00035 #include "vtkInformationKey.h" 00036 00037 class VTK_FILTERING_EXPORT vtkInformationKeyVectorKey : public vtkInformationKey 00038 { 00039 public: 00040 vtkTypeRevisionMacro(vtkInformationKeyVectorKey,vtkInformationKey); 00041 void PrintSelf(ostream& os, vtkIndent indent); 00042 00043 vtkInformationKeyVectorKey(const char* name, const char* location); 00044 ~vtkInformationKeyVectorKey(); 00045 00047 00049 void Append(vtkInformation* info, vtkInformationKey* value); 00050 void Set(vtkInformation* info, vtkInformationKey** value, int length); 00051 vtkInformationKey** Get(vtkInformation* info); 00052 void Get(vtkInformation* info, vtkInformationKey** value); 00053 int Length(vtkInformation* info); 00054 int Has(vtkInformation* info); 00056 00060 virtual void Copy(vtkInformation* from, vtkInformation* to); 00061 00062 private: 00063 vtkInformationKeyVectorKey(const vtkInformationKeyVectorKey&); // Not implemented. 00064 void operator=(const vtkInformationKeyVectorKey&); // Not implemented. 00065 }; 00066 00067 #endif