Commit 8f841808 authored by Guillaume Pasero's avatar Guillaume Pasero

ENH: remove includes spotted by IWYU (only partial)

parent b3b21883
......@@ -33,8 +33,6 @@
#include "otbGeographicalDistance.h"
#include "otbMacro.h"
namespace otb
{
......
......@@ -44,6 +44,8 @@
#include "itkCastImageFilter.h"
#include "otbStreamingStatisticsMapFromLabelImageFilter.h"
#include "otbMacro.h"
namespace otb
{
......
......@@ -36,7 +36,7 @@
#include "otbWrapperAddProcessToWatchEvent.h"
#include "otbMacro.h"
#include "otbWrapperTypes.h"
#include <exception>
#include "itkMacro.h"
......
......@@ -19,7 +19,6 @@
#define __otbWrapperApplication_h
#include <string>
#include "otbMacro.h"
#include "otbWrapperTypes.h"
#include "otbWrapperTags.h"
#include "otbWrapperParameterGroup.h"
......
......@@ -18,7 +18,6 @@
#include "otbWrapperApplicationHtmlDocGenerator.h"
#include <stdio.h>
#include "otbMacro.h"
#include "otbWrapperChoiceParameter.h"
namespace otb
......
......@@ -16,6 +16,7 @@
=========================================================================*/
#include "otbWrapperApplicationRegistry.h"
#include "otbMacro.h"
#include "itksys/SystemTools.hxx"
#include <iterator>
......
......@@ -20,6 +20,7 @@
#include "otbWrapperComplexOutputImageParameter.h"
#include "otbWrapperRAMParameter.h"
#include "itksys/SystemTools.hxx"
#include "otbMacro.h"
namespace otb
{
......
......@@ -19,9 +19,10 @@
#define __otbWrapperParameterKey_h
#include <string>
#include "otbMacro.h"
#include <vector>
#include <ostream>
#include <itksys/RegularExpression.hxx>
#include "itkMacro.h"
namespace otb
{
......
......@@ -23,6 +23,7 @@
#include "otbPersistentFilterStreamingDecorator.h"
#include "otbStreamingManager.h"
#include "otbMacro.h"
namespace otb
{
......
......@@ -24,7 +24,6 @@
#include <map>
#include "itkProcessObject.h"
#include "otbMacro.h"
/** \class CommandLineArgumentParserHelpException
* \brief This exception is thrown when the help menu is displayed.
......
......@@ -17,8 +17,6 @@
=========================================================================*/
#include "otbMath.h"
#include "otbMacro.h"
#include "muParser.h"
#include "otbParser.h"
......
......@@ -18,6 +18,7 @@
#include "otbPipelineMemoryPrintCalculator.h"
#include "otbMacro.h"
#include "otbMath.h"
#include "otbImage.h"
#include "otbVectorImage.h"
......
......@@ -18,6 +18,7 @@
#ifndef __otbStreamingTraits_h
#define __otbStreamingTraits_h
#include "otbMacro.h"
#include "itkBSplineInterpolateImageFunction.h"
......
......@@ -19,7 +19,6 @@
#define __otbBSQImageIOFactory_h
#include "itkObjectFactoryBase.h"
#include "otbImageIOBase.h"
namespace otb
{
......
......@@ -20,8 +20,6 @@
#include <typeinfo>
#include <cassert>
#include "otbMacro.h"
#include "otbDefaultImageMetadataInterfaceFactory.h"
#include "otbDefaultImageMetadataInterface.h"
......
......@@ -17,8 +17,6 @@
=========================================================================*/
#include "otbMacro.h"
#include "otbFormosatImageMetadataInterfaceFactory.h"
#include "otbFormosatImageMetadataInterface.h"
......
......@@ -17,7 +17,6 @@
=========================================================================*/
#include "otbGDALDriverManagerWrapper.h"
#include <vector>
#include "otbMacro.h"
#include "otbSystem.h"
namespace otb
......
......@@ -19,7 +19,6 @@
#include "otbIkonosImageMetadataInterface.h"
#include <boost/algorithm/string.hpp>
#include "otbMacro.h"
#include "itkMetaDataObject.h"
#include "otbImageKeywordlist.h"
......
......@@ -20,8 +20,6 @@
#include <typeinfo>
#include <cassert>
#include "otbMacro.h"
#include "otbIkonosImageMetadataInterfaceFactory.h"
#include "otbIkonosImageMetadataInterface.h"
......
......@@ -24,7 +24,6 @@
#include "itkMetaDataDictionary.h"
#include "otbMetaDataKey.h"
#include "itkImageBase.h"
#include "otbMacro.h"
namespace otb
{
......
......@@ -19,7 +19,6 @@
#define __otbJPEG2000ImageIOFactory_h
#include "itkObjectFactoryBase.h"
#include "otbImageIOBase.h"
namespace otb
{
......
......@@ -19,7 +19,6 @@
#define __otbLUMImageIOFactory_h
#include "itkObjectFactoryBase.h"
#include "otbImageIOBase.h"
namespace otb
{
......
......@@ -19,7 +19,6 @@
#define __otbMSTARImageIOFactory_h
#include "itkObjectFactoryBase.h"
#include "otbImageIOBase.h"
namespace otb
{
......
......@@ -19,7 +19,6 @@
#define __otbMWImageIOFactory_h
#include "itkObjectFactoryBase.h"
#include "otbImageIOBase.h"
namespace otb
{
......
......@@ -17,6 +17,7 @@
=========================================================================*/
#include "otbOGRIOHelper.h"
#include "otbMacro.h"
#include "ogrsf_frmts.h"
#include "otbOGR.h"
#include "itkTimeProbe.h"
......
......@@ -19,7 +19,6 @@
#define __otbONERAImageIOFactory_h
#include "itkObjectFactoryBase.h"
#include "otbImageIOBase.h"
namespace otb
{
......
......@@ -18,7 +18,6 @@
#include "otbOpticalImageMetadataInterface.h"
#include "otbMacro.h"
#include "itkMetaDataObject.h"
#include "otbImageKeywordlist.h"
......
......@@ -20,8 +20,6 @@
#include <typeinfo>
#include <cassert>
#include "otbMacro.h"
#include "otbPleiadesImageMetadataInterfaceFactory.h"
#include "otbPleiadesImageMetadataInterface.h"
......
......@@ -19,7 +19,6 @@
#include "otbQuickBirdImageMetadataInterface.h"
#include <boost/algorithm/string.hpp>
#include "otbMacro.h"
#include "itkMetaDataObject.h"
#include "otbImageKeywordlist.h"
......
......@@ -20,8 +20,6 @@
#include <typeinfo>
#include <cassert>
#include "otbMacro.h"
#include "otbQuickBirdImageMetadataInterfaceFactory.h"
#include "otbQuickBirdImageMetadataInterface.h"
......
......@@ -19,7 +19,6 @@
#define __otbRADImageIOFactory_h
#include "itkObjectFactoryBase.h"
#include "otbImageIOBase.h"
namespace otb
{
......
......@@ -20,8 +20,6 @@
#include <typeinfo>
#include <cassert>
#include "otbMacro.h"
#include "otbSpot6ImageMetadataInterfaceFactory.h"
#include "otbSpot6ImageMetadataInterface.h"
......
......@@ -20,8 +20,6 @@
#include <typeinfo>
#include <cassert>
#include "otbMacro.h"
#include "otbSpotImageMetadataInterfaceFactory.h"
#include "otbSpotImageMetadataInterface.h"
......
......@@ -19,7 +19,6 @@
#include "otbTerraSarImageMetadataInterface.h"
#include <boost/algorithm/string.hpp>
#include "otbMacro.h"
#include "otbMath.h"
#include "itkIndex.h"
#include "itkMetaDataObject.h"
......
......@@ -17,8 +17,6 @@
=========================================================================*/
#include "otbMacro.h"
#include "otbTerraSarImageMetadataInterfaceFactory.h"
#include "otbTerraSarImageMetadataInterface.h"
......
......@@ -26,6 +26,7 @@
#include "itksys/SystemTools.hxx"
#include "otbSystem.h"
#include "otbMacro.h"
#include "otbGDALImageIO.h"
......
......@@ -25,7 +25,6 @@
//#include "stdlib.h"
/* ITK Libraries */
#include "otbMacro.h"
#include "otbImageIOBase.h"
#include "otbImageRegionTileMapSplitter.h"
......
......@@ -20,7 +20,6 @@
#define __otbTileMapImageIOFactory_h
#include "itkObjectFactoryBase.h"
#include "otbImageIOBase.h"
namespace otb
{
......
......@@ -18,7 +18,6 @@
#ifndef __otbWavelengthSpectralBands_h
#define __otbWavelengthSpectralBands_h
#include "otbMacro.h"
#include "otbObjectList.h"
#include "otbFilterFunctionValues.h"
......
......@@ -19,7 +19,6 @@
#include "otbWorldView2ImageMetadataInterface.h"
#include <boost/algorithm/string.hpp>
#include "otbMacro.h"
#include "itkMetaDataObject.h"
#include "otbImageKeywordlist.h"
......
......@@ -20,8 +20,6 @@
#include <typeinfo>
#include <cassert>
#include "otbMacro.h"
#include "otbWorldView2ImageMetadataInterfaceFactory.h"
#include "otbWorldView2ImageMetadataInterface.h"
......
......@@ -22,7 +22,6 @@
#include <vector>
#include "itkProcessObject.h"
#include "otbMacro.h"
namespace otb
{
......
......@@ -18,7 +18,6 @@
#ifndef __otbAtmosphericCorrectionParametersTo6SAtmosphericRadiativeTerms_h
#define __otbAtmosphericCorrectionParametersTo6SAtmosphericRadiativeTerms_h
#include "otbMacro.h"
#include "itkProcessObject.h"
#include "otbAtmosphericCorrectionParameters.h"
#include "otbAtmosphericRadiativeTerms.h"
......
......@@ -21,6 +21,7 @@
#include "otbAtmosphericRadiativeTerms.h"
#include "otbImageMetadataCorrectionParameters.h"
#include "otbSIXSTraits.h"
#include "otbMacro.h"
namespace otb
{
......
......@@ -27,6 +27,7 @@
#include "otbRadiometryCorrectionParametersToAtmosphericRadiativeTerms.h"
#include "otbAtmosphericCorrectionParameters.h"
#include "otbMacro.h"
#include "itkMetaDataDictionary.h"
#include <iomanip>
......
......@@ -20,7 +20,6 @@
#include "itkDataObject.h"
#include "itkObjectFactory.h"
#include "otbMacro.h"
namespace otb
{
......
......@@ -20,7 +20,6 @@
#include <iostream>
#include <fstream>
#include "otbMacro.h"
namespace otb
{
......
......@@ -31,7 +31,6 @@
#include "itkExceptionObject.h"
#include "itksys/SystemTools.hxx"
// OTB includes
#include "otbMacro.h"
#include "otbOGRDriversInit.h"
#include "otbSystem.h"
// OGR includes
......
......@@ -18,7 +18,6 @@
#ifndef __otbWrapperCommandLineParser_h
#define __otbWrapperCommandLineParser_h
#include "otbMacro.h"
#include "itkObjectFactory.h"
......
......@@ -22,7 +22,6 @@
#include "itkStdStreamLogOutput.h"
//#include "itkObjectFactory.h"
//#include "itkProcessObject.h"
#include "otbMacro.h"
namespace otb
{
......
#include "svm.h"
#include <math.h>
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#include <ctype.h>
#include <float.h>
#include <string.h>
#include <stdarg.h>
#include "svm.h"
#include <iostream>
int libsvm_version = LIBSVM_VERSION;
typedef float Qfloat;
typedef signed char schar;
......
......@@ -4,10 +4,15 @@
#define LIBSVM_VERSION 300
/*** Begin OTB modification ***/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sstream>
#include <map>
#include <string>
#include <utility>
#include <vector>
#include "otbMacro.h"
#include <string.h>
struct svm_node;
struct svm_parameter;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment