00001 /*========================================================================= 00002 00003 Program: Insight Segmentation & Registration Toolkit 00004 Module: $RCSfile: itkBrains2HeaderFactory.h,v $ 00005 Language: C++ 00006 Date: $Date: 2007-12-03 13:13:07 $ 00007 Version: $Revision: 1.6 $ 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 Brains2HeaderFactory 00029 { 00030 public: 00031 00033 typedef Brains2HeaderFactory Self; 00034 typedef Self * Pointer; 00035 typedef const Self * ConstPointer; 00036 00037 Brains2HeaderFactory(); 00038 virtual ~Brains2HeaderFactory(); 00042 typedef itk::Brains2HeaderBase::Pointer Brains2HeaderBasePointer; 00043 00045 static Brains2HeaderBasePointer CreateBrains2HeaderReader(const std::string & TypeID); 00046 static Brains2HeaderBasePointer CreateBrains2HeaderWriter(const std::string & TypeID); 00048 00049 protected: 00050 //virtual void PrintSelf(std::ostream& os, Indent indent) const; 00051 00052 private: 00053 Brains2HeaderFactory(const Self&); //purposely not implemented 00054 void operator=(const Self&); //purposely not implemented 00055 }; 00056 } // end namespace itk 00057 #endif 00058