11#include "MantidMDAlgorithms/DllConfig.h"
15namespace MDAlgorithms {
25 const std::string name()
const override;
27 const std::string
summary()
const override {
28 return "Reads an ASCII file containing MDEvent data and constructs an "
32 int version()
const override;
33 const std::vector<std::string>
seeAlso()
const override {
return {
"ImportMDHistoWorkspace"}; }
34 const std::string category()
const override;
37 static const std::string DimensionBlockFlag();
39 static const std::string MDEventBlockFlag();
41 static const std::string CommentLineStartFlag();
55 bool m_IsFullDataObjects =
false;
57 size_t m_nDimensions = 0;
59 size_t m_nDataObjects = 0;
63 void quickFileCheck();
65 bool fileDoesContain(
const std::string &flag);
Base class from which all concrete algorithm classes should be derived.
std::shared_ptr< MDEventWorkspace< MDE, nd > > sptr
Typedef for a shared pointer of this kind of event workspace.
ImportMDEventWorkspace : Loads a file containing dimensionality and data for an MDEventWorkspace.
const std::vector< std::string > seeAlso() const override
Function to return all of the seeAlso (these are not validated) algorithms related to this algorithm....
MDEventType
Possible Event Types.
DataCollectionType::iterator m_posDimStart
Iterator for the dimensionality start position.
std::deque< std::string > DataCollectionType
Typdef for the white-space separated file data type.
DataCollectionType::iterator m_posMDEventStart
Iterator for the mdevent data start position.
const std::string summary() const override
Summary of algorithms purpose.
DataCollectionType m_file_data
All read-in data.
Helper class which provides the Collimation Length for SANS instruments.