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: 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); 00047 00048 protected: 00049 //virtual void PrintSelf(std::ostream& os, Indent indent) const; 00050 00051 private: 00052 Brains2HeaderFactory(const Self&); //purposely not implemented 00053 void operator=(const Self&); //purposely not implemented 00054 }; 00055 } // end namespace itk 00056 #endif