dox/Common/vtkCNMRRLibraryVersion.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   vtkCNMRRLibrary
00004   Module:    $RCSfile: vtkCNMRRLibraryVersion.h,v $
00005 
00006   Copyright  2007  The Pennsylvania State University
00007   
00008           Notice
00009  
00010   The contents of this file are subject to The Pennsylvania State University 
00011   Open Source License (the "License"); you may not use this file except in 
00012   compliance with the License. You may obtain a copy of the License at H066 
00013   Radiology, NMR Building, 500 University Drive, Hershey, PA, 
00014   tel. (717) 531-6069 or via email at dcb210@psu.edu.
00015  
00016   Software distributed under the License is distributed on an "AS IS" basis, 
00017   WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License 
00018   for the specific language governing rights and limitations under the 
00019   License.
00020  
00021   The Original Code is listed under Exhibit A of the license.
00022  
00023   The Initial Developer of the Original Code is Don Bigler.
00024  
00025   Contributor(s):
00026   
00027 =========================================================================*/
00039 #ifndef __vtkCNMRRLibraryVersion_h
00040 #define __vtkCNMRRLibraryVersion_h
00041 
00042 
00043 #include "vtkObject.h"
00044 #include "vtkCNMRRCommonWin32Header.h"
00045 
00046 #define VTKCNMRRLIBRARY_SOURCE_VERSION "vtkCNMRRLibrary version " VTKCNMRRLIBRARY_VERSION ", vtkCNMRRLibrary source $Revision: 1.4 $, $Date: 2008/03/10 15:11:35 $ (GMT)"
00047 
00048 
00049 class VTK_CNMRR_COMMON_EXPORT vtkCNMRRLibraryVersion : public vtkObject
00050 {
00051 public:
00052   static vtkCNMRRLibraryVersion *New();
00053   vtkTypeRevisionMacro(vtkCNMRRLibraryVersion,vtkObject);
00054 
00056 
00060   static const char *GetVTKCNMRRLibraryVersion() { return VTKCNMRRLIBRARY_VERSION; }
00061   static int GetVTKCNMRRLibraryMajorVersion() { return VTKCNMRRLIBRARY_MAJOR_VERSION; }
00062   static int GetVTKCNMRRLibraryMinorVersion() { return VTKCNMRRLIBRARY_MINOR_VERSION; }
00063   static int GetVTKCNMRRLibraryBuildVersion() { return VTKCNMRRLIBRARY_BUILD_VERSION; }
00064   static const char *GetVTKCNMRRLibrarySourceVersion() { return VTKCNMRRLIBRARY_SOURCE_VERSION; }
00066   
00067 protected:
00068   vtkCNMRRLibraryVersion() {}; //insure constructor/destructor protected
00069   ~vtkCNMRRLibraryVersion() {};
00070 private:
00071   vtkCNMRRLibraryVersion(const vtkCNMRRLibraryVersion&);  // Not implemented.
00072   void operator=(const vtkCNMRRLibraryVersion&);  // Not implemented.
00073 };
00074 
00075 #endif 

Generated on Tue May 12 14:53:03 2009 for vtkCNMRRLibrary by  doxygen 1.4.7