| 
    BornAgain
    1.18.0
    
   Simulate and fit neutron and x-ray scattering at grazing incidence 
   | 
 
Public Member Functions | |
| OutputDataReader (const std::string &file_name) | |
| OutputData< double > * | getOutputData () | 
| void | setStrategy (IOutputDataReadStrategy *read_strategy) | 
Private Attributes | |
| std::string | m_file_name | 
| std::unique_ptr< IOutputDataReadStrategy > | m_read_strategy | 
Reads OutputData from file using different reading strategies.
Definition at line 26 of file OutputDataReader.h.
| OutputDataReader::OutputDataReader | ( | const std::string & | file_name | ) | 
Definition at line 50 of file OutputDataReader.cpp.
| OutputData< double > * OutputDataReader::getOutputData | ( | ) | 
read output data from file (file name was set already from OutputDataIOFactory)
Definition at line 52 of file OutputDataReader.cpp.
References FileSystemUtils::convert_utf8_to_utf16(), anonymous_namespace{OutputDataReader.cpp}::getFromFilteredStream(), DataFormatUtils::isCompressed(), DataFormatUtils::isTiffFile(), m_file_name, and m_read_strategy.
| void OutputDataReader::setStrategy | ( | IOutputDataReadStrategy * | read_strategy | ) | 
Sets concrete reading strategy.
Definition at line 85 of file OutputDataReader.cpp.
References m_read_strategy.
Referenced by OutputDataReadFactory::getReader(), and OutputDataReadFactory::getReflectometryReader().
      
  | 
  private | 
Definition at line 38 of file OutputDataReader.h.
Referenced by getOutputData().
      
  | 
  private | 
Definition at line 39 of file OutputDataReader.h.
Referenced by getOutputData(), and setStrategy().