00001 /*========================================================================= 00002 00003 Program: Insight Segmentation & Registration Toolkit 00004 Module: $RCSfile: itkVoxBoCUBImageIOFactory.h,v $ 00005 Language: C++ 00006 Date: $Date: 2008-06-18 19:28:57 $ 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 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 __itkVoxBoCUBImageIOFactory_h 00018 #define __itkVoxBoCUBImageIOFactory_h 00019 00020 #include "itkObjectFactoryBase.h" 00021 #include "itkImageIOBase.h" 00022 00023 namespace itk 00024 { 00035 class ITK_EXPORT VoxBoCUBImageIOFactory : public ObjectFactoryBase 00036 { 00037 public: 00039 typedef VoxBoCUBImageIOFactory 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 00053 itkTypeMacro(VoxBoCUBImageIOFactory, ObjectFactoryBase); 00054 00056 static void RegisterOneFactory(void) 00057 { 00058 VoxBoCUBImageIOFactory::Pointer VoxBoCUBFactory = VoxBoCUBImageIOFactory::New(); 00059 ObjectFactoryBase::RegisterFactory(VoxBoCUBFactory); 00060 } 00062 00063 protected: 00064 VoxBoCUBImageIOFactory(); 00065 ~VoxBoCUBImageIOFactory(); 00066 00067 private: 00068 VoxBoCUBImageIOFactory(const Self&); //purposely not implemented 00069 void operator=(const Self&); //purposely not implemented 00070 00071 }; 00072 00073 00074 } // end namespace itk 00075 00076 #endif 00077