Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members Related Pages
Common/vtkVersion.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00030 #ifndef __vtkVersion_h
00031 #define __vtkVersion_h
00032
00033
00034 #include "vtkObject.h"
00035
00036 #define VTK_SOURCE_VERSION "vtk version " VTK_VERSION ", vtk source $Revision: 1.1495 $, $Date: 2003/02/18 03:45:04 $ (GMT)"
00037
00038
00039 class VTK_COMMON_EXPORT vtkVersion : public vtkObject
00040 {
00041 public:
00042 static vtkVersion *New();
00043 vtkTypeRevisionMacro(vtkVersion,vtkObject);
00044
00046
00049 static const char *GetVTKVersion() { return VTK_VERSION; }
00050 static int GetVTKMajorVersion() { return VTK_MAJOR_VERSION; }
00051 static int GetVTKMinorVersion() { return VTK_MINOR_VERSION; }
00052 static int GetVTKBuildVersion() { return VTK_BUILD_VERSION; }
00053 static const char *GetVTKSourceVersion() { return VTK_SOURCE_VERSION; }
00055
00056 protected:
00057 vtkVersion() {};
00058 ~vtkVersion() {};
00059 private:
00060 vtkVersion(const vtkVersion&);
00061 void operator=(const vtkVersion&);
00062 };
00063
00064 #endif