vtkVersion.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00026 #ifndef __vtkVersion_h
00027 #define __vtkVersion_h
00028
00029
00030 #include "vtkObject.h"
00031
00032 #define VTK_SOURCE_VERSION "vtk version " VTK_VERSION ", vtk source $Revision: 1.2004 $, $Date: 2004/10/04 01:46:32 $ (GMT)"
00033
00034
00035 class VTK_COMMON_EXPORT vtkVersion : public vtkObject
00036 {
00037 public:
00038 static vtkVersion *New();
00039 vtkTypeRevisionMacro(vtkVersion,vtkObject);
00040
00042
00045 static const char *GetVTKVersion() { return VTK_VERSION; }
00046 static int GetVTKMajorVersion() { return VTK_MAJOR_VERSION; }
00047 static int GetVTKMinorVersion() { return VTK_MINOR_VERSION; }
00048 static int GetVTKBuildVersion() { return VTK_BUILD_VERSION; }
00049 static const char *GetVTKSourceVersion() { return VTK_SOURCE_VERSION; }
00051
00052 protected:
00053 vtkVersion() {};
00054 ~vtkVersion() {};
00055 private:
00056 vtkVersion(const vtkVersion&);
00057 void operator=(const vtkVersion&);
00058 };
00059
00060 #endif