Commit d4063c40 authored by Federico Montesino Pouzols's avatar Federico Montesino Pouzols
Browse files

DataHandling: less includes in Algorithm, MatrixWorkspace, re #15246

parent 3799ff15
......@@ -2,6 +2,7 @@
#define MANTID_DATAHANDLING_CREATESIMULATIONWORKSPACE_H_
#include "MantidAPI/Algorithm.h"
#include "MantidKernel/cow_ptr.h"
#include "MantidGeometry/Instrument.h"
namespace Mantid {
......
......@@ -3,9 +3,11 @@
//----------------------------------------------------------------------
// Includes
//----------------------------------------------------------------------
#include "MantidAPI/Algorithm.h"
#include <fstream>
#include "MantidAPI/Algorithm.h"
#include "MantidGeometry/IDetector.h"
namespace Mantid {
namespace DataHandling {
/** file types currently supported by ASCII loader are:
......
#ifndef MANTID_DATAHANDLING_LOADDAVEGRP_H_
#define MANTID_DATAHANDLING_LOADDAVEGRP_H_
#include "MantidAPI/IFileLoader.h"
#include <fstream>
#include <string>
#include "MantidAPI/IFileLoader.h"
#include "MantidKernel/cow_ptr.h"
namespace Mantid {
namespace DataHandling {
/** @class Mantid::DataHandling::LoadDaveGrp
......
......@@ -5,6 +5,7 @@
// Includes
//----------------------------------------------------------------------
#include "MantidAPI/Algorithm.h"
#include "MantidGeometry/Instrument.h"
namespace Mantid {
namespace DataHandling {
......
#ifndef MANTID_DATAHANDLING_LOADDIFFCAL_H_
#define MANTID_DATAHANDLING_LOADDIFFCAL_H_
#include "MantidKernel/System.h"
#include "MantidAPI/Algorithm.h"
#include "MantidGeometry/Instrument.h"
#include "MantidKernel/System.h"
namespace H5 {
class H5File;
......
#ifndef MANTID_DATAHANDLING_LoadHelper_H_
#define MANTID_DATAHANDLING_LoadHelper_H_
#include "MantidAPI/Run.h"
#include "MantidKernel/System.h"
#include "MantidNexus/NexusClasses.h"
......
......@@ -5,6 +5,7 @@
// Includes
//----------------------------------------------------------------------
#include "MantidAPI/Algorithm.h"
#include "MantidAPI/Run.h"
namespace Mantid {
......
......@@ -3,6 +3,7 @@
#include "MantidKernel/System.h"
#include "MantidAPI/IFileLoader.h"
#include "MantidGeometry/Objects/Object.h"
namespace Mantid {
namespace DataHandling {
......
......@@ -3,6 +3,7 @@
#include "MantidAPI/Algorithm.h"
#include "MantidAPI/MatrixWorkspace_fwd.h"
#include "MantidGeometry/IDTypes.h"
#include <boost/scoped_array.hpp>
#include <nexus/NeXusException.hpp>
#include <nexus/NeXusFile.hpp>
......@@ -78,8 +79,9 @@ protected:
private:
/// Fix the detector numbers if the defaults are not correct
void fixUDets(boost::scoped_array<detid_t> &det_ids, ::NeXus::File &file,
const boost::scoped_array<specid_t> &spec_ids,
void fixUDets(boost::scoped_array<Mantid::detid_t> &det_ids,
::NeXus::File &file,
const boost::scoped_array<Mantid::specid_t> &spec_ids,
const size_t nmonitors) const;
/// Load the logs
......
......@@ -7,6 +7,7 @@
#include "MantidAPI/IFileLoader.h"
#include "MantidAPI/ITableWorkspace_fwd.h"
#include "MantidAPI/MatrixWorkspace_fwd.h"
#include "MantidKernel/cow_ptr.h"
#include "MantidNexus/NexusClasses.h"
......
......@@ -5,6 +5,8 @@
// Includes
//---------------------------------------------------
#include "MantidAPI/IFileLoader.h"
#include "MantidKernel/cow_ptr.h"
#include <fstream>
namespace Mantid {
......
#ifndef MANTID_DATAHANDLING_PDLOADCHARACTERIZATIONS_H_
#define MANTID_DATAHANDLING_PDLOADCHARACTERIZATIONS_H_
#include <iosfwd>
#include "MantidKernel/System.h"
#include "MantidAPI/Algorithm.h"
#include <iosfwd>
#include "MantidAPI/ITableWorkspace_fwd.h"
namespace Mantid {
namespace DataHandling {
......
......@@ -5,6 +5,7 @@
// Includes
//---------------------------------------------------
#include "MantidAPI/Algorithm.h"
#include "MantidKernel/cow_ptr.h"
namespace Mantid {
namespace DataHandling {
......
......@@ -7,6 +7,15 @@
#include "MantidAPI/Algorithm.h"
namespace Mantid {
namespace Geometry {
class IComponent;
}
namespace Kernel {
class V3D;
}
namespace DataHandling {
/** @class SetScalingPSD SetScalingPSD.h MantidAlgorithm/SetScalingPSD.h
......
......@@ -5,6 +5,7 @@
// Includes
//----------------------------------------------------------------------
#include "MantidAPI/Algorithm.h"
#include "MantidGeometry/IDetector.h"
#include <nexus/NeXusFile.hpp>
namespace Mantid {
......
......@@ -9,11 +9,14 @@ GUI
//----------------------------------------------------------------------
#include "MantidDataHandling/AsciiPointBase.h"
#include "MantidAPI/FileProperty.h"
#include <fstream>
#include "MantidAPI/MatrixWorkspace.h"
#include <boost/tokenizer.hpp>
#include <boost/regex.hpp>
#include <boost/math/special_functions/fpclassify.hpp>
#include <fstream>
namespace Mantid {
namespace DataHandling {
using namespace Kernel;
......
#include "MantidDataHandling/CreateChopperModel.h"
#include "MantidAPI/FermiChopperModel.h"
#include "MantidAPI/MatrixWorkspace.h"
#include "MantidKernel/BoundedValidator.h"
#include "MantidKernel/ListValidator.h"
#include "MantidKernel/MandatoryValidator.h"
......
#include "MantidDataHandling/CreateModeratorModel.h"
#include "MantidAPI/IkedaCarpenterModerator.h"
#include "MantidAPI/MatrixWorkspace.h"
#include "MantidKernel/ListValidator.h"
#include "MantidKernel/MandatoryValidator.h"
......
#include "MantidDataHandling/CreateSimulationWorkspace.h"
#include "MantidAPI/Axis.h"
#include "MantidAPI/FileProperty.h"
#include "MantidAPI/MatrixWorkspace.h"
#include "MantidAPI/WorkspaceFactory.h"
#include "MantidKernel/ArrayProperty.h"
#include "MantidKernel/ListValidator.h"
......
#include "MantidDataHandling/EventWorkspaceCollection.h"
#include "MantidDataObjects/EventWorkspace.h"
#include "MantidKernel/UnitFactory.h"
#include "MantidAPI/Axis.h"
#include "MantidAPI/Run.h"
#include <vector>
......
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