BornAgain  1.19.79
Open-source research software to simulate and fit neutron and x-ray reflectometry and grazing-incidence small-angle scattering
IOFactory.h File Reference

Description

Defines class IOFactory.

Homepage:\n http://www.bornagainproject.org
License:\n GNU General Public License v3 or higher (see COPYING)
Authors
Scientific Computing Group at MLZ (see CITATION, AUTHORS)

Definition in file IOFactory.h.

Include dependency graph for IOFactory.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  IOFactory
 Provides users with possibility to read and write IntensityData from/to files in different format. Type of the file will be deduced from file name. *.txt - ASCII file with 2D array [nrow][ncol], layout as in numpy. *.int - BornAgain internal ASCII format. *.tif - 32-bits tiff file. If file name ends with "*.gz" or "*.bz2" the file will be zipped on the fly using appropriate algorithm. More...
 

Namespaces

 IOUtil
 

Functions

bool IOUtil::filesAgree (const std::string &datFileName, const std::string &refFileName, double tol)
 Returns true if data in both files agree. More...