VTK
|
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkInformationDataObjectMetaDataKey.h 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 =========================================================================*/ 00025 #ifndef vtkInformationDataObjectMetaDataKey_h 00026 #define vtkInformationDataObjectMetaDataKey_h 00027 00028 #include "vtkCommonExecutionModelModule.h" // For export macro 00029 #include "vtkInformationDataObjectKey.h" 00030 00031 #include "vtkCommonInformationKeyManager.h" // Manage instances of this type. 00032 00033 class VTKCOMMONEXECUTIONMODEL_EXPORT vtkInformationDataObjectMetaDataKey : public vtkInformationDataObjectKey 00034 { 00035 public: 00036 vtkTypeMacro(vtkInformationDataObjectMetaDataKey,vtkInformationDataObjectKey); 00037 void PrintSelf(ostream& os, vtkIndent indent); 00038 00039 vtkInformationDataObjectMetaDataKey(const char* name, const char* location); 00040 ~vtkInformationDataObjectMetaDataKey(); 00041 00043 00046 static vtkInformationDataObjectMetaDataKey* MakeKey(const char* name, const char* location) 00047 { 00048 return new vtkInformationDataObjectMetaDataKey(name, location); 00049 } 00051 00053 00056 virtual void CopyDefaultInformation(vtkInformation* request, 00057 vtkInformation* fromInfo, 00058 vtkInformation* toInfo); 00060 00061 private: 00062 vtkInformationDataObjectMetaDataKey(const vtkInformationDataObjectMetaDataKey&); // Not implemented. 00063 void operator=(const vtkInformationDataObjectMetaDataKey&); // Not implemented. 00064 }; 00065 00066 #endif