00001 /*========================================================================= 00002 00003 Program: Insight Segmentation & Registration Toolkit 00004 Module: $RCSfile: itkBioRadImageIOFactory.h,v $ 00005 Language: C++ 00006 Date: $Date: 2005/11/14 15:06:41 $ 00007 Version: $Revision: 1.1 $ 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 Portions of this code are covered under the VTK copyright. 00013 See VTKCopyright.txt or http://www.kitware.com/VTKCopyright.htm for details. 00014 00015 This software is distributed WITHOUT ANY WARRANTY; without even 00016 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00017 PURPOSE. See the above copyright notices for more information. 00018 00019 =========================================================================*/ 00020 #ifndef __itkBioRadImageIOFactory_h 00021 #define __itkBioRadImageIOFactory_h 00022 00023 #include "itkObjectFactoryBase.h" 00024 #include "itkImageIOBase.h" 00025 00026 namespace itk 00027 { 00031 class ITK_EXPORT BioRadImageIOFactory : public ObjectFactoryBase 00032 { 00033 public: 00035 typedef BioRadImageIOFactory Self; 00036 typedef ObjectFactoryBase Superclass; 00037 typedef SmartPointer<Self> Pointer; 00038 typedef SmartPointer<const Self> ConstPointer; 00039 00041 virtual const char* GetITKSourceVersion() const; 00042 virtual const char* GetDescription() const; 00043 00045 itkFactorylessNewMacro(Self); 00046 00048 itkTypeMacro(BioRadImageIOFactory, ObjectFactoryBase); 00049 00051 static void RegisterOneFactory() 00052 { 00053 BioRadImageIOFactory::Pointer bioradFactory = BioRadImageIOFactory::New(); 00054 ObjectFactoryBase::RegisterFactory(bioradFactory); 00055 } 00056 00057 protected: 00058 BioRadImageIOFactory(); 00059 ~BioRadImageIOFactory(); 00060 00061 private: 00062 BioRadImageIOFactory(const Self&); //purposely not implemented 00063 void operator=(const Self&); //purposely not implemented 00064 }; 00065 00066 } // end namespace itk 00067 00068 #endif