00001 //============================================================================= 00002 // This file is part of VTKEdge. See vtkedge.org for more information. 00003 // 00004 // Copyright (c) 2010 Kitware, Inc. 00005 // 00006 // VTKEdge may be used under the terms of the BSD License 00007 // Please see the file Copyright.txt in the root directory of 00008 // VTKEdge for further information. 00009 // 00010 // Alternatively, you may see: 00011 // 00012 // http://www.vtkedge.org/vtkedge/project/license.html 00013 // 00014 // 00015 // For custom extensions, consulting services, or training for 00016 // this or any other Kitware supported open source project, please 00017 // contact Kitware at sales@kitware.com. 00018 // 00019 // 00020 //============================================================================= 00034 #ifndef __vtkKWEInformationKeyMap_h 00035 #define __vtkKWEInformationKeyMap_h 00036 00037 #include "vtkObject.h" 00038 #include "VTKEdgeConfigure.h" // include configuration header 00039 00040 #include <vtkstd/string> 00041 00042 //BTX 00043 class vtkInformationKey; 00044 //ETX 00045 00046 class VTKEdge_COMMON_EXPORT vtkKWEInformationKeyMap : public vtkObject 00047 { 00048 public: 00049 static vtkKWEInformationKeyMap *New(); 00050 vtkTypeRevisionMacro(vtkKWEInformationKeyMap,vtkObject); 00051 void PrintSelf(ostream& os, vtkIndent indent); 00052 00054 static void RegisterKey(vtkInformationKey* key); 00055 00058 static vtkInformationKey* FindKey(const char* name); 00059 00062 static vtkstd::string GetFullName(vtkInformationKey* key); 00063 00065 static void RemoveAllKeys(); 00066 00067 protected: 00068 vtkKWEInformationKeyMap(); 00069 ~vtkKWEInformationKeyMap(); 00070 00071 private: 00072 vtkKWEInformationKeyMap(const vtkKWEInformationKeyMap&); // Not implemented. 00073 void operator=(const vtkKWEInformationKeyMap&); // Not implemented. 00074 }; 00075 00076 #endif
1.7.1