BornAgain  1.19.79
Simulate and fit neutron and x-ray scattering at grazing incidence
IOUtils.h
Go to the documentation of this file.
1 // ************************************************************************************************
2 //
3 // BornAgain: simulate and fit reflection and scattering
4 //
5 //! @file GUI/Support/IO/IOUtils.h
6 //! @brief Defines namespace GUI::Util::IO
7 //!
8 //! @homepage http://www.bornagainproject.org
9 //! @license GNU General Public License v3 or higher (see COPYING)
10 //! @copyright Forschungszentrum Jülich GmbH 2018
11 //! @authors Scientific Computing Group at MLZ (see CITATION, AUTHORS)
12 //
13 // ************************************************************************************************
14 
15 #ifndef BORNAGAIN_GUI_SUPPORT_IO_IOUTILS_H
16 #define BORNAGAIN_GUI_SUPPORT_IO_IOUTILS_H
17 
18 #include <memory>
19 
20 class Datafield;
21 
22 //! Provides utility methods for output data.
23 
24 namespace GUI::Util::IO {
25 
26 //! Creates Datafield with bin-valued axes.
27 std::unique_ptr<Datafield> binifyAxes(const Datafield& data);
28 
29 } // namespace GUI::Util::IO
30 
31 #endif // BORNAGAIN_GUI_SUPPORT_IO_IOUTILS_H
Provides utility methods for output data.
Definition: IOUtils.h:24
std::unique_ptr< Datafield > binifyAxes(const Datafield &data)
Creates Datafield with bin-valued axes.
Definition: IOUtils.cpp:22