34IPropertyManager::getValue<Mantid::DataObjects::OffsetsWorkspace_sptr>(
const std::string &
name)
const {
41 "Attempt to assign property " +
name +
" to incorrect type. Expected shared_ptr<OffsetsWorkspace>.";
42 throw std::runtime_error(message);
48IPropertyManager::getValue<Mantid::DataObjects::OffsetsWorkspace_const_sptr>(
const std::string &
name)
const {
50 dynamic_cast<PropertyWithValue<Mantid::DataObjects::OffsetsWorkspace_sptr> *
>(getPointerToProperty(
name));
52 return prop->operator()();
55 "Attempt to assign property " +
name +
" to incorrect type. Expected const shared_ptr<OffsetsWorkspace>.";
56 throw std::runtime_error(message);
#define DLLExport
Definitions of the DLLImport compiler directives for MSVC.
#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.