34 row << splitter.
start().totalNanoseconds();
35 row << splitter.
stop().totalNanoseconds();
36 row << splitter.
index();
57 g_log.
error() <<
"Try to delete a non-existing splitter " << index <<
'\n';
75IPropertyManager::getValue<Mantid::DataObjects::SplittersWorkspace_sptr>(
const std::string &name)
const {
82 "Attempt to assign property " + name +
" to incorrect type. Expected shared_ptr<SplittersWorkspace>.";
83 throw std::runtime_error(message);
89IPropertyManager::getValue<Mantid::DataObjects::SplittersWorkspace_const_sptr>(
const std::string &name)
const {
93 return prop->operator()();
96 "Attempt to assign property " + name +
" to incorrect type. Expected const shared_ptr<SplittersWorkspace>.";
97 throw std::runtime_error(message);
std::map< DeltaEMode::Type, std::string > index
#define DLLExport
Definitions of the DLLImport compiler directives for MSVC.
TableRowHelper appendRow()
Appends a row.
TableRowHelper getRow(size_t row)
Creates a TableRow object for row row.
TableRow represents a row in a TableWorkspace.
size_t getNumberSplitters() const override
void addSplitter(const Kernel::SplittingInterval &splitter) override
SplittersWorkspace()
Constructor.
bool removeSplitter(size_t) override
Kernel::SplittingInterval getSplitter(size_t index) override
size_t rowCount() const override
Number of rows in the workspace.
API::Column_sptr addColumn(const std::string &type, const std::string &name) override
Creates a new column.
void removeRow(size_t index) override
Delets a row if it exists.
The Logger class is in charge of the publishing messages from the framework through various channels.
void error(const std::string &msg)
Logs at error level.
The concrete, templated class for properties.
Class holding a start/end time and a destination for splitting event lists and logs.
Types::Core::DateAndTime stop() const
Return the stop time.
int index() const
Return the index (destination of this split time block)
Types::Core::DateAndTime start() const
Return the start time.
Kernel::Logger g_log("ExperimentInfo")
static logger object
std::shared_ptr< SplittersWorkspace > SplittersWorkspace_sptr
std::shared_ptr< const SplittersWorkspace > SplittersWorkspace_const_sptr