Commit 5062cd2a authored by Victor Poughon's avatar Victor Poughon

Merge branch 'iwyu' into 'develop'

REFAC: include-what-you-use in Modules/Core/

See merge request !138
parents ae41df98 b55142eb
......@@ -18,6 +18,8 @@
* limitations under the License.
*/
#include <string>
#include "otbCommandLineArgumentParser.h"
#include <assert.h>
......
......@@ -21,6 +21,9 @@
#ifndef otbExtendedFilenameHelper_h
#define otbExtendedFilenameHelper_h
#include <map>
#include <vector>
#include "itkObject.h"
#include "itkObjectFactory.h"
#include "OTBCommonExport.h"
......
......@@ -22,6 +22,8 @@
#ifndef otbFilterWatcherBase_h
#define otbFilterWatcherBase_h
#include <string>
#include "otbStopwatch.h"
#include "itkCommand.h"
#include "itkProcessObject.h"
......
......@@ -21,6 +21,8 @@
#ifndef otbLogger_h
#define otbLogger_h
#include <string>
#include "itkLoggerBase.h"
#include "itkLogger.h"
#include "OTBCommonExport.h"
......
......@@ -22,6 +22,8 @@
#ifndef otbStandardOneLineFilterWatcher_h
#define otbStandardOneLineFilterWatcher_h
#include <iosfwd>
#include "otbFilterWatcherBase.h"
namespace otb
......
......@@ -22,8 +22,12 @@
#ifndef otbStandardWriterWatcher_h
#define otbStandardWriterWatcher_h
#include <iosfwd>
#include "otbWriterWatcherBase.h"
#include "OTBCommonExport.h"
namespace otb
{
......
......@@ -21,6 +21,9 @@
#ifndef otbUtils_h
#define otbUtils_h
#include <sstream>
#include <string>
#include "itkMacro.h"
#include "OTBCommonExport.h"
......
......@@ -22,10 +22,11 @@
#ifndef otbWriterWatcherBase_h
#define otbWriterWatcherBase_h
#include "otbStopwatch.h"
#include <string>
#include "itkCommand.h"
#include "itkProcessObject.h"
#include "otbStopwatch.h"
#include "OTBCommonExport.h"
......
......@@ -21,6 +21,7 @@
#include "otbConfigurationManager.h"
#include "otbMacro.h"
#include "otbLogger.h"
#include "itksys/SystemTools.hxx"
......
......@@ -19,6 +19,15 @@
*/
#include "otbExtendedFilenameHelper.h"
#include <cassert>
#include <ostream>
#include <stdexcept>
#include <string>
#include <boost/algorithm/string.hpp>
#include <boost/lexical_cast.hpp>
#include "otb_boost_string_header.h"
#include "otbStringUtils.h"
......
......@@ -19,7 +19,11 @@
* limitations under the License.
*/
#include <iostream>
#include <sstream>
#include "otbStandardOneLineFilterWatcher.h"
#include "otbStopwatch.h"
namespace otb
{
......
......@@ -19,7 +19,10 @@
* limitations under the License.
*/
#include <iostream>
#include "otbStandardWriterWatcher.h"
#include "otbStopwatch.h"
namespace otb
{
......
......@@ -21,7 +21,6 @@
#include "otbSystem.h"
#include <string> // strdup
#include <ctype.h> //toupper, tolower
#include <cstdlib>
#if (defined(WIN32) || defined(WIN32CE)) && !defined(__CYGWIN__) && !defined(__MINGW32__)
......
......@@ -20,7 +20,6 @@
#include "otbUtils.h"
#include <sstream>
namespace otb
{
......
......@@ -28,6 +28,8 @@
#include "vnl/vnl_vector.h"
#include <string>
#include <typeinfo>
#include <vector>
#include "OTBImageBaseExport.h"
......
......@@ -19,6 +19,10 @@
* limitations under the License.
*/
#include <complex>
#include <sstream>
#include <string>
#if defined(_MSC_VER)
#pragma warning ( disable : 4786 )
#endif
......@@ -29,7 +33,6 @@
#include "itkPoint.h"
#include "itkCovariantVector.h"
#include "itkDiffusionTensor3D.h"
#include "itkImageRegionSplitter.h"
namespace otb
{
......
......@@ -28,6 +28,7 @@
#include "itk_kwiml.h"
#endif
#include <set>
#include <iosfwd>
#include "OTBStreamingExport.h"
......
......@@ -19,6 +19,9 @@
*/
#include <complex>
#include <ostream>
#include "otbPipelineMemoryPrintCalculator.h"
#include "otbMacro.h"
......
......@@ -21,9 +21,11 @@
#ifndef otbVectorDataKeywordlist_h
#define otbVectorDataKeywordlist_h
#include <iosfwd>
#include <vector>
#include "itkLightObject.h"
#include "itkObjectFactory.h"
#include <vector>
#if defined(__GNUC__) || defined(__clang__)
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wshadow"
......
......@@ -18,6 +18,7 @@
* limitations under the License.
*/
#include <ostream>
#include "otbVectorDataIOBase.h"
......
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