Mantid
Loading...
Searching...
No Matches
Classes | Namespaces | Functions
WorkspaceCreation.h File Reference
#include "MantidDataObjects/DllConfig.h"
#include "MantidHistogramData/Histogram.h"
#include <memory>
#include <type_traits>

Go to the source code of this file.

Classes

struct  Mantid::DataObjects::detail::IsIndexInfo< T >
 
struct  Mantid::DataObjects::detail::IsIndexInfo< Indexing::IndexInfo >
 

Namespaces

namespace  Mantid
 Helper class which provides the Collimation Length for SANS instruments.
 
namespace  Mantid::API
 
namespace  Mantid::DataObjects
 
namespace  Mantid::DataObjects::detail
 Factory methods for creating MatrixWorkspaces.
 
namespace  Mantid::Geometry
 
namespace  Mantid::Indexing
 

Functions

template<class T , class IndexArg , class HistArg , typename std::enable_if<!std::is_base_of< API::MatrixWorkspace, IndexArg >::value >::type * = nullptr>
std::unique_ptr< T > Mantid::DataObjects::create (const IndexArg &indexArg, const HistArg &histArg)
 
template<class T , class P , typename std::enable_if< std::is_base_of< API::MatrixWorkspace, P >::value >::type * = nullptr>
std::unique_ptr< T > Mantid::DataObjects::create (const P &parent)
 
template<class T , class P , typename std::enable_if< std::is_base_of< API::MatrixWorkspace, P >::value >::type * = nullptr>
std::unique_ptr< T > Mantid::DataObjects::create (const P &parent, const HistogramData::BinEdges &binEdges)
 
template<class T , class P , typename std::enable_if< std::is_base_of< API::MatrixWorkspace, P >::value >::type * = nullptr>
std::unique_ptr< T > Mantid::DataObjects::create (const P &parent, const HistogramData::Histogram &histogram)
 
template<class T , class P , typename std::enable_if< std::is_base_of< API::MatrixWorkspace, P >::value >::type * = nullptr>
std::unique_ptr< T > Mantid::DataObjects::create (const P &parent, const HistogramData::Points &points)
 
template<class T , class P , class IndexArg , class HistArg , class = typename std::enable_if<std::is_base_of<API::MatrixWorkspace, P>::value>::type>
std::unique_ptr< T > Mantid::DataObjects::create (const P &parent, const IndexArg &indexArg, const HistArg &histArg)
 This is the create() method that all the other create() methods call. More...
 
template<class T , class IndexArg , class HistArg , typename std::enable_if<!std::is_base_of< API::MatrixWorkspace, IndexArg >::value >::type * = nullptr>
std::unique_ptr< T > Mantid::DataObjects::create (const std::shared_ptr< const Geometry::Instrument > &instrument, const IndexArg &indexArg, const HistArg &histArg)
 
template<class T >
std::unique_ptr< T > Mantid::DataObjects::detail::createConcreteHelper ()
 
template<>
MANTID_DATAOBJECTS_DLL std::unique_ptr< API::MatrixWorkspace > Mantid::DataObjects::detail::createConcreteHelper ()
 
template<>
MANTID_DATAOBJECTS_DLL std::unique_ptr< API::HistoWorkspace > Mantid::DataObjects::detail::createConcreteHelper ()
 
template<class T >
std::unique_ptr< T > Mantid::DataObjects::detail::createHelper ()
 
template<>
MANTID_DATAOBJECTS_DLL std::unique_ptr< API::HistoWorkspace > Mantid::DataObjects::detail::createHelper ()
 
template<>
MANTID_DATAOBJECTS_DLL std::unique_ptr< EventWorkspace > Mantid::DataObjects::detail::createHelper ()
 
template<>
MANTID_DATAOBJECTS_DLL std::unique_ptr< API::MatrixWorkspace > Mantid::DataObjects::detail::createHelper ()
 
template<class HistArg >
void Mantid::DataObjects::detail::fixDistributionFlag (API::MatrixWorkspace &, const HistArg &)
 
template<>
MANTID_DATAOBJECTS_DLL void Mantid::DataObjects::detail::fixDistributionFlag (API::MatrixWorkspace &workspace, const HistogramData::Histogram &histArg)
 
template<class UseIndexInfo >
void Mantid::DataObjects::detail::initializeFromParent (const API::MatrixWorkspace &parent, API::MatrixWorkspace &ws)
 Initialize a MatrixWorkspace from its parent including instrument, unit, number of spectra and Run. More...
 
MANTID_DATAOBJECTS_DLL HistogramData::Histogram Mantid::DataObjects::detail::stripData (HistogramData::Histogram histogram)