11#include "MantidAPI/DllConfig.h"
52 std::string
name()
const {
return m_name; }
61 operator bool()
const;
71 static std::string generateUniqueName();
74 static std::string randomString(
size_t len);
ScopedWorkspace : scoped workspace ADS entry.
ScopedWorkspace(const ScopedWorkspace &)=delete
Disable copy operator.
const std::string m_name
ADS name of the workspace.
static const size_t NAME_LENGTH
Length of workspace names generated.
ScopedWorkspace & operator=(const ScopedWorkspace &)=delete
Disable assignment operator.
std::string name() const
Returns ADS name of the workspace.
std::shared_ptr< Workspace > Workspace_sptr
shared pointer to Mantid::API::Workspace
Helper class which provides the Collimation Length for SANS instruments.