Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove all instances of `typedef` keyword #1474

Open
dzenanz opened this issue Dec 6, 2019 · 0 comments
Open

Remove all instances of `typedef` keyword #1474

dzenanz opened this issue Dec 6, 2019 · 0 comments
Labels

Comments

@dzenanz
Copy link
Member

@dzenanz dzenanz commented Dec 6, 2019

It should be replaced by using or enum class, as appropriate.

Additional Information

  C:\Dev\ITK-git\Modules\Core\Common\include\itkLoggerBase.h (1 hit)
	Line 86:   typedef enum
  C:\Dev\ITK-git\Modules\Core\Common\include\itkObjectStore.h (1 hit)
	Line 97:   typedef enum
  C:\Dev\ITK-git\Modules\Core\Common\include\itkSpatialOrientation.h (4 hits)
	Line 44: typedef enum
	Line 57: typedef enum
	Line 84: typedef enum
	Line 246: typedef enum
  C:\Dev\ITK-git\Modules\Core\Common\include\itkThreadLogger.h (1 hit)
	Line 61:   typedef enum
  C:\Dev\ITK-git\Modules\Core\Common\src\itkFloatingPointExceptions_unix_signalhandler.cxx (1 hit)
	Line 60: typedef union
  C:\Dev\ITK-git\Modules\Core\Common\test\itkSymmetricEllipsoidInteriorExteriorSpatialFunctionTest.cxx (1 hit)
	Line 32:   // Point position typedef
  C:\Dev\ITK-git\Modules\Core\GPUCommon\CMake\itkCheckHasBlocks.cxx (1 hit)
	Line 40:   typedef int (^IntBlock)();
  C:\Dev\ITK-git\Modules\Filtering\Denoising\include\itkPatchBasedDenoisingBaseImageFilter.h (3 hits)
	Line 155:   typedef enum
	Line 166:   typedef enum
	Line 173:   typedef enum
  C:\Dev\ITK-git\Modules\Filtering\ImageFeature\include\itkFastBilateralImageFilter.h (28 hits)
	Line 61:   typedef FastBilateralImageFilter                          Self;
	Line 62:   typedef ImageToImageFilter< TInputImage, TOutputImage >   Superclass;
	Line 63:   typedef SmartPointer<Self>                                Pointer;
	Line 64:   typedef SmartPointer<const Self>                          ConstPointer;
	Line 78:   typedef TInputImage                                   InputImageType;
	Line 79:   typedef typename TInputImage::Pointer                 InputImagePointer;
	Line 80:   typedef typename TInputImage::ConstPointer            InputImageConstPointer;
	Line 81:   typedef typename TInputImage::SpacingType             InputImageSpacingType;
	Line 82:   typedef typename TInputImage::SizeType                InputImageSizeType;
	Line 83:   typedef typename TInputImage::IndexType               InputImageIndexType;
	Line 86:   typedef ImageRegionConstIteratorWithIndex<TInputImage>
	Line 90:   typedef TOutputImage                                  OutputImageType;
	Line 91:   typedef typename TOutputImage::Pointer                OutputImagePointer;
	Line 94:   typedef ImageRegionIterator<TOutputImage>
	Line 98:   typedef typename TOutputImage::PixelType              OutputPixelType;
	Line 99:   typedef typename TInputImage::PixelType               InputPixelType;
	Line 103:   typedef FixedArray<double, itkGetStaticConstMacro(ImageDimension)>
	Line 151:   typedef typename
	Line 156:   typedef typename GridType::PixelType                  GridPixelType;
	Line 157:   typedef typename GridType::IndexType                  GridIndexType;
	Line 158:   typedef typename GridType::SizeType                   GridSizeType;
	Line 159:   typedef typename
	Line 162:   typedef typename GridType::RegionType                 GridRegionType;
	Line 165:   typedef ImageRegionIterator<GridType>                 GridImageIteratorType;
	Line 166:   typedef ImageRegionConstIterator<GridType>
	Line 170:   typedef DiscreteGaussianImageFilter< GridType, GridType > BlurType;
	Line 173:   typedef LinearInterpolateImageFunction<GridType, float>
	Line 175:   typedef typename InterpolatorType::ContinuousIndexType
  C:\Dev\ITK-git\Modules\Filtering\ImageFeature\include\itkFastBilateralImageFilter.txx (2 hits)
	Line 132:   typedef MinimumMaximumImageCalculator< InputImageType > MinMaxCalculatorType;
	Line 167:   typedef ImageDuplicator<GridType> DuplicatorType;
  C:\Dev\ITK-git\Modules\Filtering\ImageLabel\include\itkBinaryContourImageFilter.h (1 hit)
	Line 61:    * Standard "Self" & Superclass typedef.
  C:\Dev\ITK-git\Modules\Filtering\ImageLabel\include\itkLabelContourImageFilter.h (1 hit)
	Line 62:    * Standard "Self" & Superclass typedef.
  C:\Dev\ITK-git\Modules\Filtering\LabelMap\include\itkBinaryImageToLabelMapFilter.h (1 hit)
	Line 64:    * Standard "Self" & Superclass typedef.
  C:\Dev\ITK-git\Modules\Filtering\MathematicalMorphology\include\itkFlatStructuringElement.hxx (2 hits)
	Line 951:   // Ellipsoid spatial function typedef
	Line 1056:   // Ellipsoid spatial function typedef
  C:\Dev\ITK-git\Modules\Filtering\SpatialFunction\test\itkSpatialFunctionImageEvaluatorFilterTest.cxx (1 hit)
	Line 31:   // Image typedef
  C:\Dev\ITK-git\Modules\IO\BioRad\src\itkBioRadImageIO.cxx (2 hits)
	Line 71: typedef enum
	Line 78: typedef enum
  C:\Dev\ITK-git\Modules\IO\ImageBase\include\itkImageIOBase.h (2 hits)
	Line 107:   typedef enum
	Line 132:   typedef enum
  C:\Dev\ITK-git\Modules\IO\ImageBase\include\itkIOCommon.h (2 hits)
	Line 41:   typedef enum
	Line 46:   typedef enum
  C:\Dev\ITK-git\Modules\IO\JPEG2000\src\itkJPEG2000ImageIO.cxx (1 hit)
	Line 41:   typedef enum
  C:\Dev\ITK-git\Modules\IO\MeshBase\include\itkMeshIOBase.h (5 hits)
	Line 106:   typedef enum
	Line 129:   typedef enum
	Line 149:   typedef enum
	Line 158:   typedef enum
	Line 166:   typedef enum
  C:\Dev\ITK-git\Modules\IO\NIFTI\src\itkNiftiImageIO.cxx (1 hit)
	Line 1702:   typedef SpatialOrientationAdapter OrientAdapterType;
  C:\Dev\ITK-git\Modules\IO\Siemens\include\itkSiemensVisionImageIO.h (1 hit)
	Line 124:   typedef enum
  C:\Dev\ITK-git\Modules\IO\TIFF\src\itkTIFFImageIO.cxx (1 hit)
	Line 854: typedef enum
  C:\Dev\ITK-git\Modules\Nonunit\Review\include\itkAttributeMorphologyBaseImageFilter.h (1 hit)
	Line 67:    * Standard "Self" & Superclass typedef.
  C:\Dev\ITK-git\Modules\Numerics\FEM\include\itkFEMElementBase.h (1 hit)
	Line 113:    * within the element's declaration or definition, ALWAYS use this typedef
  C:\Dev\ITK-git\Modules\Numerics\FEM\include\itkFEMPArray.h (2 hits)
	Line 44:    * Standard Self typedef
	Line 49:    * Standard Superclass typedef
  C:\Dev\ITK-git\Modules\Numerics\Optimizers\include\itkFRPROptimizer.h (1 hit)
	Line 109:   typedef enum
  C:\Dev\ITK-git\Modules\Numerics\Optimizersv4\include\itkCommandIterationUpdatev4.h (2 hits)
	Line 37:    * Standard "Self" typedef.
	Line 43:    * Standard "Superclass" typedef.
  C:\Dev\ITK-git\Modules\Numerics\Optimizersv4\include\itkGradientDescentOptimizerBasev4.h (1 hit)
	Line 55:   typedef enum
  C:\Dev\ITK-git\Modules\Numerics\Optimizersv4\include\itkObjectToObjectMetricBase.h (1 hit)
	Line 216:   typedef enum
  C:\Dev\ITK-git\Modules\Numerics\Statistics\include\itkHistogramToRunLengthFeaturesFilter.h (1 hit)
	Line 169:   typedef enum
  C:\Dev\ITK-git\Modules\Numerics\Statistics\include\itkHistogramToTextureFeaturesFilter.h (1 hit)
	Line 206:   typedef enum
  C:\Dev\ITK-git\Modules\Registration\Common\include\itkCommandIterationUpdate.h (2 hits)
	Line 37:    * Standard "Self" typedef.
	Line 43:    * Standard "Superclass" typedef.
  C:\Dev\ITK-git\Modules\Registration\Common\include\itkCommandVnlIterationUpdate.h (2 hits)
	Line 37:    * Standard "Self" typedef.
	Line 43:    * Standard "Superclass" typedef.
  C:\Dev\ITK-git\Modules\Registration\Common\test\itkCorrelationCoefficientHistogramImageToImageMetricTest.cxx (1 hit)
	Line 77:     typedef itk::CorrelationCoefficientHistogramImageToImageMetric<FixedImageType, MovingImageType> MetricType;  


  C:\Dev\ITK-git\Modules\Segmentation\ConnectedComponents\include\itkConnectedComponentFunctorImageFilter.h (1 hit)
	Line 59:    * Standard "Self" & Superclass typedef.
  C:\Dev\ITK-git\Modules\Segmentation\ConnectedComponents\include\itkConnectedComponentImageFilter.h (1 hit)
	Line 66:    * Standard "Self" & Superclass typedef.
  C:\Dev\ITK-git\Modules\Segmentation\ConnectedComponents\include\itkHardConnectedComponentImageFilter.h (1 hit)
	Line 55:    * Standard class typedef's
  C:\Dev\ITK-git\Modules\Segmentation\ConnectedComponents\include\itkRelabelComponentImageFilter.h (1 hit)
	Line 87:    * Standard "Self" & Superclass typedef.
  C:\Dev\ITK-git\Modules\Segmentation\LevelSets\include\itkCannySegmentationLevelSetImageFilter.h (1 hit)
	Line 150:   typedef ::itk::CannySegmentationLevelSetFunction<OutputImageType, FeatureImageType> CannyFunctionType;
  C:\Dev\ITK-git\Modules\Segmentation\LevelSets\include\itkExtensionVelocitiesImageFilter.hxx (2 hits)
	Line 156:   typedef ImageRegionIterator<AuxImageType> AuxIteratorType;
	Line 326:   typedef ImageRegionIterator<AuxImageType> AuxIteratorType;
  C:\Dev\ITK-git\Modules\Segmentation\LevelSets\include\itkLevelSetFunction.h (1 hit)
	Line 98:   //  typedef
  C:\Dev\ITK-git\Modules\Segmentation\MarkovRandomFieldsClassifiers\test\itkMRFImageFilterTest.cxx (1 hit)
	Line 386:   // Labelled image neighborhood iterator typedef
  C:\Dev\ITK-git\Modules\Segmentation\RegionGrowing\include\itkConnectedThresholdImageFilter.h (1 hit)
	Line 138:   typedef enum
  C:\Dev\ITK-git\Modules\Segmentation\Watersheds\include\itkMorphologicalWatershedImageFilter.hxx (1 hit)
	Line 96:   typedef MorphologicalWatershedFromMarkersImageFilter<TInputImage, TOutputImage> WatershedType;

  C:\Dev\ITK-git\Utilities\Doxygen\doxygen.config.in (13 hits)
	Line 423: # with only public data fields or simple typedef fields will be shown inline in
	Line 432: # When TYPEDEF_HIDES_STRUCT tag is enabled, a typedef of a struct, union, or
	Line 433: # enum is documented as struct, union, or enum with the name of the typedef. So
	Line 434: # typedef struct TypeS {} TypeT, will appear in the documentation as a struct
	Line 435: # with name TypeT. When disabled the typedef will appear as a member of a file,
	Line 438: # types are typedef'ed and only the typedef is referenced, never the tag name.
	Line 438: # types are typedef'ed and only the typedef is referenced, never the tag name.
	Line 2182:                          "FEM_ABSTRACT_CLASS(thisClass,parentClass)=                   public:                                                                   /** Standard  Self typedef.*/                                          typedef thisClass Self;                                                 /** Standard  Superclass typedef. */                                   typedef parentClass Superclass;                                         /** Pointer or SmartPointer to an object. */                            typedef Self* Pointer;                                                  /** Const pointer or SmartPointer to an object. */                      typedef const Self* ConstPointer;                                     private:" \
	Line 2182:                          "FEM_ABSTRACT_CLASS(thisClass,parentClass)=                   public:                                                                   /** Standard  Self typedef.*/                                          typedef thisClass Self;                                                 /** Standard  Superclass typedef. */                                   typedef parentClass Superclass;                                         /** Pointer or SmartPointer to an object. */                            typedef Self* Pointer;                                                  /** Const pointer or SmartPointer to an object. */                      typedef const Self* ConstPointer;                                     private:" \
	Line 2182:                          "FEM_ABSTRACT_CLASS(thisClass,parentClass)=                   public:                                                                   /** Standard  Self typedef.*/                                          typedef thisClass Self;                                                 /** Standard  Superclass typedef. */                                   typedef parentClass Superclass;                                         /** Pointer or SmartPointer to an object. */                            typedef Self* Pointer;                                                  /** Const pointer or SmartPointer to an object. */                      typedef const Self* ConstPointer;                                     private:" \
	Line 2182:                          "FEM_ABSTRACT_CLASS(thisClass,parentClass)=                   public:                                                                   /** Standard  Self typedef.*/                                          typedef thisClass Self;                                                 /** Standard  Superclass typedef. */                                   typedef parentClass Superclass;                                         /** Pointer or SmartPointer to an object. */                            typedef Self* Pointer;                                                  /** Const pointer or SmartPointer to an object. */                      typedef const Self* ConstPointer;                                     private:" \
	Line 2182:                          "FEM_ABSTRACT_CLASS(thisClass,parentClass)=                   public:                                                                   /** Standard  Self typedef.*/                                          typedef thisClass Self;                                                 /** Standard  Superclass typedef. */                                   typedef parentClass Superclass;                                         /** Pointer or SmartPointer to an object. */                            typedef Self* Pointer;                                                  /** Const pointer or SmartPointer to an object. */                      typedef const Self* ConstPointer;                                     private:" \
	Line 2182:                          "FEM_ABSTRACT_CLASS(thisClass,parentClass)=                   public:                                                                   /** Standard  Self typedef.*/                                          typedef thisClass Self;                                                 /** Standard  Superclass typedef. */                                   typedef parentClass Superclass;                                         /** Pointer or SmartPointer to an object. */                            typedef Self* Pointer;                                                  /** Const pointer or SmartPointer to an object. */                      typedef const Self* ConstPointer;                                     private:" \
  C:\Dev\ITK-git\Wrapping\Generators\Python\PyUtils\itkPyCommand.h (1 hit)
	Line 45:   ///! Standard "Self" typedef.
  C:\Dev\ITK-git\Wrapping\Generators\Tcl\itkTclCommand.h (1 hit)
	Line 41:   ///! Standard "Self" typedef.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.