11#include "MantidDataObjects/DllConfig.h"
35IPropertyManager::getValue<Mantid::DataObjects::OffsetsWorkspace_sptr>(
const std::string &
name)
const {
42 "Attempt to assign property " +
name +
" to incorrect type. Expected shared_ptr<OffsetsWorkspace>.";
43 throw std::runtime_error(message);
49IPropertyManager::getValue<Mantid::DataObjects::OffsetsWorkspace_const_sptr>(
const std::string &
name)
const {
51 dynamic_cast<PropertyWithValue<Mantid::DataObjects::OffsetsWorkspace_sptr> *
>(getPointerToProperty(
name));
53 return prop->operator()();
56 "Attempt to assign property " +
name +
" to incorrect type. Expected const shared_ptr<OffsetsWorkspace>.";
57 throw std::runtime_error(message);
#define DECLARE_WORKSPACE(classname)
An OffsetsWorkspace is a specialized Workspace2D where the Y value at each pixel is the offset to be ...
The concrete, templated class for properties.
std::shared_ptr< const OffsetsWorkspace > OffsetsWorkspace_const_sptr
shared pointer to a const OffsetsWorkspace
std::shared_ptr< OffsetsWorkspace > OffsetsWorkspace_sptr
shared pointer to the OffsetsWorkspace class
std::shared_ptr< const Instrument > Instrument_const_sptr
Shared pointer to an const instrument object.