3#ifndef __stir_IO_write_to_file_H__
4#define __stir_IO_write_to_file_H__
48 std::string filename_used(filename);
52 error(
"Error writing data to file '" + filename +
"'");
Declaration of class stir::Succeeded.
Declaration of stir::error()
std::string write_to_file(const std::string &filename, const DataT &data)
Function that writes data to file using the default OutputFileFormat.
Definition write_to_file.h:46
void error(const char *const s,...)
Print error with format string a la printf and throw exception.
Definition error.cxx:42