45 std::ostringstream os;
50 for (
auto &stat : stats) {
69IPropertyManager::getValue<Mantid::API::IMDEventWorkspace_sptr>(
const std::string &name)
const {
75 "Attempt to assign property " + name +
" to incorrect type. Expected shared_ptr<IMDEventWorkspace>.";
76 throw std::runtime_error(message);
84IPropertyManager::getValue<Mantid::API::IMDEventWorkspace_const_sptr>(
const std::string &name)
const {
87 return prop->operator()();
95 return nonConstProp->operator()();
98 "Attempt to assign property " + name +
" to incorrect type. Expected const shared_ptr<IMDEventWorkspace>.";
99 throw std::runtime_error(message);
double value
The value of the point.
const std::string toString() const override
Serializes the object to a string.
bool threadSafe() const override
Is the workspace thread-safe.
virtual std::vector< std::string > getBoxControllerStats() const =0
Returns some information about the box controller, to be displayed in the GUI, for example.
bool fileNeedsUpdating() const
void setFileNeedsUpdating(bool value)
Sets the marker set to true when a file-backed workspace needs its back-end file updated (by calling ...
virtual bool isFileBacked() const =0
IMDEventWorkspace()
Empty constructor.
bool m_fileNeedsUpdating
Marker set to true when a file-backed workspace needs its back-end file updated (by calling SaveMD(Up...
Basic MD Workspace Abstract Class.
const std::string toString() const override
Serializes the object to a string.
virtual uint64_t getNPoints() const =0
Get the number of points associated with the workspace.
Small class that allows a MDEventWorkspace or a MDHistoWorkspace to hold several ExperimentInfo class...
const std::string toString() const
Returns a string description of the object.
The concrete, templated class for properties.
std::shared_ptr< IMDEventWorkspace > IMDEventWorkspace_sptr
Shared pointer to Mantid::API::IMDEventWorkspace.
std::shared_ptr< const IMDEventWorkspace > IMDEventWorkspace_const_sptr
Shared pointer to Mantid::API::IMDEventWorkspace (const version)
float coord_t
Typedef for the data type to use for coordinate axes in MD objects such as MDBox, MDEventWorkspace,...