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 __vtkKWESerializationHelper_h 00035 #define __vtkKWESerializationHelper_h 00036 00037 #include "vtkObject.h" 00038 #include "VTKEdgeConfigure.h" // include configuration header 00039 00040 class vtkKWESerializer; 00041 00042 class VTKEdge_IO_EXPORT vtkKWESerializationHelper : public vtkObject 00043 { 00044 public: 00045 vtkTypeRevisionMacro(vtkKWESerializationHelper,vtkObject); 00046 void PrintSelf(ostream& os, vtkIndent indent); 00047 00053 virtual void RegisterWithHelperMap() = 0; 00054 00057 virtual void UnRegisterWithHelperMap() = 0; 00058 00060 virtual const char *GetSerializationType(vtkObject *object) = 0; 00061 00063 virtual int Serialize(vtkObject *object, vtkKWESerializer *serializer) = 0; 00064 00065 protected: 00066 vtkKWESerializationHelper() {} 00067 ~vtkKWESerializationHelper() {} 00068 00069 private: 00070 vtkKWESerializationHelper(const vtkKWESerializationHelper&); // Not implemented. 00071 void operator=(const vtkKWESerializationHelper&); // Not implemented. 00072 }; 00073 00074 #endif
1.7.1