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

« back to all changes in this revision

Viewing changes to Code/Common/itkChainCodePath.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: itkChainCodePath.h,v $
5
5
  Language:  C++
6
 
  Date:      $Date: 2007/01/30 20:56:07 $
7
 
  Version:   $Revision: 1.10 $
 
6
  Date:      $Date: 2007-12-23 17:59:28 $
 
7
  Version:   $Revision: 1.11 $
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.
75
75
 
76
76
  typedef std::vector<OffsetType>  ChainCodeType;
77
77
 
 
78
  typedef typename ChainCodeType::size_type ChainCodeSizeType;
 
79
 
78
80
  // Functions inherited from Path
79
81
  
80
82
  /** Evaluate the chaincode for the offset at the specified path-position. */
127
129
    }
128
130
  
129
131
  /** How many steps in the chaincode? */
130
 
  virtual inline unsigned int NumberOfSteps() const
 
132
  virtual inline ChainCodeSizeType NumberOfSteps() const
131
133
    {
132
134
    return m_Chain.size();
133
135
    }