Newer
Older
Janik Zikovsky
committed
//----------------------------------------------------------------------
// Includes
//----------------------------------------------------------------------
Campbell, Stuart
committed
#include "MantidDataHandling/LoadSNSEventNexus.h"
Gigg, Martyn Anthony
committed
#include "MantidAPI/LoadAlgorithmFactory.h" // For the DECLARE_LOADALGORITHM macro
Janik Zikovsky
committed
using namespace ::NeXus;
Janik Zikovsky
committed
using namespace Mantid::Geometry;
Janik Zikovsky
committed
using namespace Mantid::DataObjects;
namespace Mantid
{
Campbell, Stuart
committed
namespace DataHandling
Janik Zikovsky
committed
{
DECLARE_ALGORITHM(LoadSNSEventNexus)
Gigg, Martyn Anthony
committed
DECLARE_LOADALGORITHM(LoadSNSEventNexus)
Janik Zikovsky
committed
LoadSNSEventNexus::LoadSNSEventNexus()
Gigg, Martyn Anthony
committed
{
this->useAlgorithm("LoadEventNexus");
this->deprecatedDate("2011-02-14");
Gigg, Martyn Anthony
committed
}
int LoadSNSEventNexus::version() const
{
return 1;
}
Janik Zikovsky
committed
const std::string LoadSNSEventNexus::name() const
{
return "LoadSNSEventNexus";
}
Janik Zikovsky
committed
/**
* Checks the file by opening it and reading few lines
* @param filePath :: name of the file inluding its path
* @return an integer value how much this algorithm can load the file
Janik Zikovsky
committed
*/
int LoadSNSEventNexus::fileCheck(const std::string& filePath)
Janik Zikovsky
committed
{
UNUSED_ARG(filePath);
Janik Zikovsky
committed
}
Campbell, Stuart
committed
} // namespace DataHandling
Janik Zikovsky
committed
} // namespace Mantid