14namespace DataObjects {
29 std::unique_ptr<OffsetsWorkspace>
clone()
const {
return std::unique_ptr<OffsetsWorkspace>(doClone()); }
31 std::unique_ptr<OffsetsWorkspace>
cloneEmpty()
const {
return std::unique_ptr<OffsetsWorkspace>(doCloneEmpty()); }
35 const std::string
id()
const override {
return "OffsetsWorkspace"; }
An OffsetsWorkspace is a specialized Workspace2D where the Y value at each pixel is the offset to be ...
OffsetsWorkspace()=default
std::unique_ptr< OffsetsWorkspace > cloneEmpty() const
Returns a default-initialized clone of the workspace.
OffsetsWorkspace * doCloneEmpty() const override
Virtual cloneEmpty method.
OffsetsWorkspace & operator=(const OffsetsWorkspace &)=delete
std::unique_ptr< OffsetsWorkspace > clone() const
Returns a clone of the workspace.
OffsetsWorkspace * doClone() const override
Virtual clone method. Not implemented to force implementation in children.
const std::string id() const override
Gets the name of the workspace type.
OffsetsWorkspace(const OffsetsWorkspace &)=default
Protected copy constructor. May be used by childs for cloning.
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.
Helper class which provides the Collimation Length for SANS instruments.