11#include "MantidAlgorithms/DllConfig.h"
35 const std::string
name()
const override {
return "CopySample"; };
37 const std::string
summary()
const override {
38 return "Copy some/all the sample information from one workspace to "
43 int version()
const override {
return 1; };
44 const std::vector<std::string>
seeAlso()
const override {
45 return {
"CompareSampleLogs",
"CopyLogs",
"CheckForSampleLogs"};
48 const std::string
category()
const override {
return "Sample;Utility\\Workspaces"; }
49 std::map<std::string, std::string> validateInputs()
override;
57 void copyParameters(
API::Sample &from,
API::Sample &to,
bool nameFlag,
bool materialFlag,
bool environmentFlag,
58 bool shapeFlag,
bool latticeFlag,
bool orientationOnlyFlag,
Base class from which all concrete algorithm classes should be derived.
This class stores information about the sample used in particular run.
CopySample : The algorithm copies some/all the sample information from one workspace to another.
int version() const override
Algorithm's version for identification.
const std::vector< std::string > seeAlso() const override
Function to return all of the seeAlso algorithms related to this algorithm.
const std::string summary() const override
Summary of algorithms purpose.
const std::string name() const override
Algorithm's name for identification.
const std::string category() const override
Algorithm's category for identification.
Helper class which provides the Collimation Length for SANS instruments.