24 std::ostringstream os;
38IPropertyManager::getValue<Mantid::API::IMDHistoWorkspace_sptr>(
const std::string &name)
const {
44 "Attempt to assign property " + name +
" to incorrect type. Expected shared_ptr<IMDHistoWorkspace>.";
45 throw std::runtime_error(message);
53IPropertyManager::getValue<Mantid::API::IMDHistoWorkspace_const_sptr>(
const std::string &name)
const {
56 return prop->operator()();
59 "Attempt to assign property " + name +
" to incorrect type. Expected const shared_ptr<IMDHistoWorkspace>.";
60 throw std::runtime_error(message);
const std::string toString() const override
Serializes the object to a string.
const std::string toString() const override
Serializes the object to a string.
const std::string toString() const
Returns a string description of the object.
The concrete, templated class for properties.
std::shared_ptr< IMDHistoWorkspace > IMDHistoWorkspace_sptr
shared pointer to Mantid::API::IMDHistoWorkspace
std::shared_ptr< const IMDHistoWorkspace > IMDHistoWorkspace_const_sptr
shared pointer to Mantid::API::IMDHistoWorkspace (const version)