00001 /*========================================================================= 00002 00003 Program: Insight Segmentation & Registration Toolkit 00004 Module: $RCSfile: itkBrains2HeaderFactory.h,v $ 00005 Language: C++ 00006 Date: $Date: 2004/01/08 00:39:03 $ 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 __itkBrains2HeaderFactory_h 00018 #define __itkBrains2HeaderFactory_h 00019 00020 #include "itkBrains2HeaderBase.h" 00021 00022 namespace itk 00023 { 00028 //class ITK_EXPORT Brains2HeaderFactory : itk::Object 00029 class Brains2HeaderFactory 00030 { 00031 public: 00032 00034 typedef Brains2HeaderFactory Self; 00035 typedef Self * Pointer; 00036 typedef const Self * ConstPointer; 00037 00038 Brains2HeaderFactory(); 00039 virtual ~Brains2HeaderFactory(); 00043 typedef itk::Brains2HeaderBase::Pointer Brains2HeaderBasePointer; 00044 00046 static Brains2HeaderBasePointer CreateBrains2HeaderReader(const std::string & TypeID); 00047 static Brains2HeaderBasePointer CreateBrains2HeaderWriter(const std::string & TypeID); 00049 00050 protected: 00051 //virtual void PrintSelf(std::ostream& os, Indent indent) const; 00052 00053 private: 00054 Brains2HeaderFactory(const Self&); //purposely not implemented 00055 void operator=(const Self&); //purposely not implemented 00056 }; 00057 } // end namespace itk 00058 #endif 00059