~ubuntu-branches/ubuntu/precise/insighttoolkit/precise

« back to all changes in this revision

Viewing changes to Code/IO/itkTIFFImageIOFactory.h

  • Committer: Bazaar Package Importer
  • Author(s): Steve M. Robbins
  • Date: 2008-05-31 12:07:29 UTC
  • mfrom: (3.1.3 intrepid)
  • Revision ID: james.westby@ubuntu.com-20080531120729-7g7layn480le43ko
Tags: 3.6.0-3
* debian/patches/gccxml-workaround.patch: New.  Work around gccxml issue
  with #include_next; c.f. http://www.gccxml.org/Bug/view.php?id=7134.  
* debian/patches/gcc43.patch: include <cstring> in itkNeighbourhood.h.
  This only showed up in the tcl wrapping step.

* Above two entries fix FTBFS for GCC 4.3-based systems.
  Closes: #478500.

* debian/patches/sharedforward.patch: New.  Ensure that linux/sparc
  systems are not also configured as a SUN sparc system, which requires
  SUN header sys/isa_defs.h.  Closes: #478940, #483312.

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
  Program:   Insight Segmentation & Registration Toolkit
4
4
  Module:    $RCSfile: itkTIFFImageIOFactory.h,v $
5
5
  Language:  C++
6
 
  Date:      $Date: 2004/01/08 00:39:08 $
7
 
  Version:   $Revision: 1.2 $
 
6
  Date:      $Date: 2007-03-22 14:28:53 $
 
7
  Version:   $Revision: 1.3 $
8
8
 
9
9
  Copyright (c) Insight Software Consortium. All rights reserved.
10
10
  See ITKCopyright.txt or http://www.itk.org/HTML/Copyright.htm for details.
33
33
{
34
34
public:  
35
35
  /** Standard class typedefs. */
36
 
  typedef TIFFImageIOFactory   Self;
37
 
  typedef ObjectFactoryBase  Superclass;
38
 
  typedef SmartPointer<Self>  Pointer;
39
 
  typedef SmartPointer<const Self>  ConstPointer;
 
36
  typedef TIFFImageIOFactory       Self;
 
37
  typedef ObjectFactoryBase        Superclass;
 
38
  typedef SmartPointer<Self>       Pointer;
 
39
  typedef SmartPointer<const Self> ConstPointer;
40
40
  
41
41
  /** Class methods used to interface with the registered factories. */
42
42
  virtual const char* GetITKSourceVersion(void) const;
50
50
 
51
51
  /** Register one factory of this type  */
52
52
  static void RegisterOneFactory(void)
53
 
  {
 
53
    {
54
54
    TIFFImageIOFactory::Pointer TIFFFactory = TIFFImageIOFactory::New();
55
55
    ObjectFactoryBase::RegisterFactory(TIFFFactory);
56
 
  }
 
56
    }
57
57
  
58
58
protected:
59
59
  TIFFImageIOFactory();