Skip to content
Snippets Groups Projects
Commit fdac6136 authored by Van Herck, Walter's avatar Van Herck, Walter
Browse files

Regenerated IsGISAXS08 functional test references to take care of previous...

Regenerated IsGISAXS08 functional test references to take care of previous instabilities in 2d paracrystal interference function
parent 0da754a9
No related branches found
No related tags found
No related merge requests found
......@@ -27,15 +27,18 @@ class BA_CORE_API_ OutputDataWriter
{
public:
OutputDataWriter() : m_write_strategy(0) {}
OutputDataWriter(const std::string& file_name) : m_file_name(file_name), m_write_strategy(0) {}
OutputDataWriter(IOutputDataWriteStrategy *write_strategy) : m_write_strategy(write_strategy) {}
OutputDataWriter(const std::string& file_name)
: m_file_name(file_name), m_write_strategy(0) {}
OutputDataWriter(IOutputDataWriteStrategy *write_strategy)
: m_write_strategy(write_strategy) {}
virtual ~OutputDataWriter() { delete m_write_strategy; }
//! write output data to file
void writeOutputData(const OutputData<double >& data);
//! Sets concrete writing strategy
void setStrategy(IOutputDataWriteStrategy *write_strategy) { delete m_write_strategy; m_write_strategy = write_strategy; }
void setStrategy(IOutputDataWriteStrategy *write_strategy)
{ delete m_write_strategy; m_write_strategy = write_strategy; }
private:
std::string m_file_name;
......
No preview for this file type
No preview for this file type
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment