Commit 9bbeb56c authored by David Fairbrother's avatar David Fairbrother
Browse files

IWYU Kernel header tidyup

parent 1304fd66
#ifndef MANTID_KERNEL_ARRAYBOUNDEDVALIDATOR_H_
#define MANTID_KERNEL_ARRAYBOUNDEDVALIDATOR_H_
#include "MantidKernel/DllConfig.h"
#include "MantidKernel/IValidator.h"
#include "MantidKernel/TypedValidator.h"
#include "MantidKernel/BoundedValidator.h"
#include <string>
#include <vector>
namespace Mantid {
......
#ifndef MANTID_KERNEL_ARRAYLENGTHVALIDATOR_H_
#define MANTID_KERNEL_ARRAYLENGTHVALIDATOR_H_
#include "MantidKernel/DllConfig.h"
#include "MantidKernel/TypedValidator.h"
#include "MantidKernel/IValidator.h"
#include <string>
#include <vector>
namespace Mantid {
......
#ifndef MANTID_KERNEL_ARRAYORDEREDPAIRSVALIDATOR_H_
#define MANTID_KERNEL_ARRAYORDEREDPAIRSVALIDATOR_H_
#include "MantidKernel/BoundedValidator.h"
#include "MantidKernel/TypedValidator.h"
#include <vector>
#include "MantidKernel/DllConfig.h"
#include "MantidKernel/IValidator.h"
#include "MantidKernel/TypedValidator.h"
#include <string>
#include <vector>
namespace Mantid {
namespace Kernel {
......
......@@ -2,6 +2,11 @@
#define MANTID_KERNEL_ARRAYPROPERTY_H_
#include "PropertyWithValue.h"
#include "MantidKernel/IValidator.h"
#include "MantidKernel/NullValidator.h"
#include "MantidKernel/Property.h"
#include <string>
#include <vector>
namespace Mantid {
namespace Kernel {
......
......@@ -5,11 +5,6 @@
// Includes
//----------------------------------------------------------------------
#include "MantidKernel/DllConfig.h"
#include <cmath>
#include <cmath>
#include <cstdio>
#include <functional>
#include <numeric>
#include <vector>
namespace Mantid {
......
......@@ -6,7 +6,6 @@
#include "MantidKernel/DllConfig.h"
#include <cstdint>
#include <cfloat>
#include <iosfwd>
#include <string>
#include <vector>
......
......@@ -4,6 +4,8 @@
#include "MantidKernel/DllConfig.h"
#include "MantidKernel/Timer.h"
#include <ctime>
#include <iosfwd>
#include <string>
namespace Mantid {
namespace Kernel {
......
......@@ -2,9 +2,13 @@
#define MANTID_KERNEL_COMPOSITEVALIDATOR_H_
#include "MantidKernel/IValidator.h"
#include "MantidKernel/System.h"
#include <boost/make_shared.hpp>
#include <list>
#include <set>
#include <string>
#include <vector>
namespace Mantid {
namespace Kernel {
......
#ifndef MANTID_KERNEL_COMPUTERESOURCEINFO_H_
#define MANTID_KERNEL_COMPUTERESOURCEINFO_H_
#include <string>
#include "MantidKernel/DllConfig.h"
#include <iosfwd>
#include <string>
namespace Poco {
namespace XML {
class Element;
......
......@@ -7,20 +7,22 @@
#include "MantidKernel/DllConfig.h"
#include "MantidKernel/SingletonHolder.h"
#include "MantidKernel/ProxyInfo.h"
#include <vector>
#include <map>
#include <set>
#include <string>
#include <vector>
#include <Poco/Notification.h>
#include <Poco/NotificationCenter.h>
#include <Poco/AutoPtr.h>
//----------------------------------------------------------------------
// Forward declarations
//----------------------------------------------------------------------
/// @cond Exclude from doxygen documentation
namespace Poco {
class AbstractObserver;
class Channel;
template <class C> class AutoPtr;
namespace Util {
class PropertyFileConfiguration;
class SystemConfiguration;
......@@ -37,7 +39,6 @@ namespace Kernel {
//----------------------------------------------------------------------
// More forward declarations
//----------------------------------------------------------------------
class Logger;
class FacilityInfo;
class InstrumentInfo;
......
......@@ -5,7 +5,11 @@
#ifndef Q_MOC_RUN
#include <boost/date_time/posix_time/posix_time.hpp>
#endif
#include <time.h>
#include <iosfwd>
#include <stdint.h>
#include <string>
#include <vector>
namespace Mantid {
namespace Kernel {
......
#ifndef MANTID_KERNEL_DATETIMEVALIDATOR_H_
#define MANTID_KERNEL_DATETIMEVALIDATOR_H_
#include "MantidKernel/DllConfig.h"
#include "MantidKernel/TypedValidator.h"
#include "MantidKernel/IValidator.h"
#include <string>
namespace Mantid {
namespace Kernel {
......
#ifndef MANTID_KERNEL_DATEVALIDATOR_H_
#define MANTID_KERNEL_DATEVALIDATOR_H_
#include "MantidKernel/DllConfig.h"
#include "MantidKernel/IValidator.h"
#include "MantidKernel/TypedValidator.h"
#include <string>
namespace Mantid {
namespace Kernel {
......
......@@ -5,7 +5,9 @@
// Includes
//----------------------------------------------------------------------
#include "IValidator.h"
#include "MantidKernel/DllConfig.h"
#include "MantidKernel/FileValidator.h"
#include <string>
#include <vector>
namespace Mantid {
......
#ifndef MANTID_KERNEL_DISKBUFFER_H_
#define MANTID_KERNEL_DISKBUFFER_H_
#include "MantidKernel/DllConfig.h"
#include "MantidKernel/FreeBlock.h"
#include "MantidKernel/ISaveable.h"
#include "MantidKernel/System.h"
#ifndef Q_MOC_RUN
#include <boost/multi_index_container.hpp>
......@@ -15,13 +13,16 @@
#include <cstdint>
#include <limits>
#include <list>
#include <map>
#include <mutex>
#include <string>
#include <vector>
namespace Mantid {
namespace Kernel {
// Forward declare
class ISaveable;
/** Buffer objects that need to be written out to disk
so as to optimize writing operations.
......
......@@ -28,6 +28,7 @@
Code Documentation is available at: <http://doxygen.mantidproject.org>
*/
#include "MantidKernel/DllConfig.h"
#include "MantidKernel/System.h"
namespace Mantid {
......
......@@ -2,9 +2,9 @@
#define MANTID_KERNEL_ENABLEDWHENPROPERTY_H_
#include "MantidKernel/System.h"
#include "MantidKernel/IPropertyManager.h"
#include "MantidKernel/IPropertySettings.h"
#include <memory>
#include <string>
namespace Mantid {
namespace Kernel {
......@@ -64,6 +64,10 @@ File change history is stored at: <https://github.com/mantidproject/mantid>
Code Documentation is available at: <http://doxygen.mantidproject.org>
*/
// Forward decelerations
class IPropertyManager;
class Property;
// Forward deceleration of structs defined at end of header
/** Enum for use in EnabledWhenProperty */
......
......@@ -5,6 +5,7 @@
// Includes
//----------------------------------------------------------------------
#include "MantidKernel/DllConfig.h"
#include <iosfwd>
#include <string>
namespace Mantid {
......
......@@ -5,6 +5,7 @@
// Includes
//----------------------------------------------------------------------
#include "MantidKernel/DllConfig.h"
#include <exception>
#include <stdexcept>
#include <string>
......
......@@ -5,6 +5,7 @@
#include "MantidKernel/DllConfig.h"
#include <fstream>
#include <stdio.h>
#include <string>
namespace Mantid {
......
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