15#include "MantidAlgorithms/DllConfig.h"
37 const std::string
name()
const override {
return "AddSampleLog"; }
39 const std::string
summary()
const override {
return "Used to insert a value into the sample logs in a workspace."; }
42 int version()
const override {
return (1); }
43 const std::vector<std::string>
seeAlso()
const override {
44 return {
"AddSampleLogMultiple",
"AddTimeSeriesLog",
"DeleteLog",
"LoadLog"};
47 const std::string
category()
const override {
return "DataHandling\\Logs"; }
55 void addStringLog(
API::Run &theRun,
const std::string &propName,
const std::string &propValue,
56 const std::string &propUnit);
58 void addTimeSeriesProperty(
API::Run &run_obj,
const std::string &prop_name,
const std::string &prop_value,
59 const std::string &prop_unit,
const std::string &prop_number_type);
61 void addSingleValueProperty(
API::Run &theRun,
const std::string &propName,
const std::string &propValue,
62 const std::string &propUnit,
const std::string &propNumberType);
66 void setTimeSeriesData(
API::Run &run_obj,
const std::string &property_name,
bool value_is_int);
69 Types::Core::DateAndTime getRunStart(
const API::Run &run_obj);
79 bool is_epoch,
bool is_second,
API::Run &run_obj);
Base class from which all concrete algorithm classes should be derived.
This class stores information regarding an experimental run as a series of log entries.
Used to insert a single string into the sample in a workspace.
const std::string name() const override
Algorithm's name.
int version() const override
Algorithm's version.
const std::string summary() const override
Summary of algorithms purpose.
const std::vector< std::string > seeAlso() const override
Function to return all of the seeAlso algorithms related to this algorithm.
const std::string category() const override
Algorithm's category for identification.
std::shared_ptr< const MatrixWorkspace > MatrixWorkspace_const_sptr
shared pointer to the matrix workspace base class (const version)
Helper class which provides the Collimation Length for SANS instruments.