Main Page   Groups   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Concepts

itkPhilipsRECImageIOFactory.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Insight Segmentation & Registration Toolkit
00004   Module:    $RCSfile: itkPhilipsRECImageIOFactory.h,v $
00005   Language:  C++
00006   Date:      $Date: 2008-06-23 22:04:35 $
00007   Version:   $Revision: 1.3 $
00008 
00009   Copyright (c) Insight Software Consortium. All rights reserved.
00010   See ITKCopyright.txt or http://www.itk.org/HTML/Copyright.htm for details.
00011 
00012      This software is distributed WITHOUT ANY WARRANTY; without even 
00013      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 
00014      PURPOSE.  See the above copyright notices for more information.
00015 
00016 =========================================================================*/
00017 #ifndef __itkPhilipsRECImageIOFactory_h
00018 #define __itkPhilipsRECImageIOFactory_h
00019 
00020 #include "itkObjectFactoryBase.h"
00021 #include "itkImageIOBase.h"
00022 
00023 namespace itk
00024 {
00035 class ITK_EXPORT PhilipsRECImageIOFactory : public ObjectFactoryBase
00036 {
00037 public:  
00039   typedef PhilipsRECImageIOFactory      Self;
00040   typedef ObjectFactoryBase             Superclass;
00041   typedef SmartPointer<Self>            Pointer;
00042   typedef SmartPointer<const Self>      ConstPointer;
00043 
00045   virtual const char* GetITKSourceVersion(void) const;
00046   virtual const char* GetDescription(void) const;
00048 
00050   itkFactorylessNewMacro(Self);
00051   static PhilipsRECImageIOFactory* FactoryNew() 
00052     { 
00053     return new PhilipsRECImageIOFactory;
00054     }
00056 
00058   itkTypeMacro(PhilipsRECImageIOFactory, ObjectFactoryBase);
00059 
00061   static void RegisterOneFactory(void)
00062     {
00063     PhilipsRECImageIOFactory::Pointer MINC2Factory = 
00064       PhilipsRECImageIOFactory::New();
00065     ObjectFactoryBase::RegisterFactory(MINC2Factory);
00066     }
00068 
00069 protected:
00070   PhilipsRECImageIOFactory();
00071   ~PhilipsRECImageIOFactory();
00072 
00073 private:
00074   PhilipsRECImageIOFactory(const Self&); //purposely not implemented
00075   void operator=(const Self&); //purposely not implemented
00076 
00077 };
00078   
00079   
00080 } // end namespace itk
00081 
00082 #endif
00083 

Generated at Wed Nov 5 23:30:08 2008 for ITK by doxygen 1.5.1 written by Dimitri van Heesch, © 1997-2000