Main Page   Groups   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Concepts

itkMRCImageIOFactory.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Insight Segmentation & Registration Toolkit
00004   Module:    $RCSfile: itkMRCImageIOFactory.h,v $
00005   Language:  C++
00006   Date:      $Date: 2010-06-18 19:17:53 $
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 __itkMRCImageIOFactory_h
00021 #define __itkMRCImageIOFactory_h
00022 
00023 #include "itkObjectFactoryBase.h"
00024 #include "itkImageIOBase.h"
00025 
00026 namespace itk
00027 {
00031 class ITK_EXPORT MRCImageIOFactory : public ObjectFactoryBase
00032 {
00033 public:
00035   typedef MRCImageIOFactory        Self;
00036   typedef ObjectFactoryBase        Superclass;
00037   typedef SmartPointer<Self>       Pointer;
00038   typedef SmartPointer<const Self> ConstPointer;
00039 
00041   virtual const char* GetITKSourceVersion(void) const;
00042   virtual const char* GetDescription(void) const;
00044 
00046   itkFactorylessNewMacro(Self);
00047 
00049   itkTypeMacro(MRCImageIOFactory, ObjectFactoryBase);
00050 
00052   static void RegisterOneFactory(void)
00053     {
00054     MRCImageIOFactory::Pointer vtkFactory = MRCImageIOFactory::New();
00055     ObjectFactoryBase::RegisterFactory(vtkFactory);
00056     }
00058 
00059 protected:
00060   MRCImageIOFactory();
00061   ~MRCImageIOFactory();
00062 
00063 private:
00064   MRCImageIOFactory(const Self&); //purposely not implemented
00065   void operator=(const Self&); //purposely not implemented
00066 
00067 };
00068 
00069 
00070 } // end namespace itk
00071 
00072 #endif
00073 

Generated at Mon Jul 12 2010 19:11:17 for ITK by doxygen 1.7.1 written by Dimitri van Heesch, © 1997-2000