BornAgain  1.19.79
Simulate and fit neutron and x-ray scattering at grazing incidence
AbstractDataLoader.cpp File Reference

Description

Implements class AbstractDataLoader.

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 AbstractDataLoader.cpp.

Include dependency graph for AbstractDataLoader.cpp:

Go to the source code of this file.

Functions

QDataStream & operator<< (QDataStream &stream, const AbstractDataLoader &s)
 
QDataStream & operator>> (QDataStream &stream, AbstractDataLoader &s)
 

Function Documentation

◆ operator<<()

QDataStream& operator<< ( QDataStream &  stream,
const AbstractDataLoader s 
)

Definition at line 80 of file AbstractDataLoader.cpp.

81 {
82  stream << s.serialize();
83  return stream;
84 }
virtual QByteArray serialize() const
Returns every internal setting so it can be restored completely.

References AbstractDataLoader::serialize().

Here is the call graph for this function:

◆ operator>>()

QDataStream& operator>> ( QDataStream &  stream,
AbstractDataLoader s 
)

Definition at line 86 of file AbstractDataLoader.cpp.

87 {
88  QByteArray b;
89  stream >> b;
90  s.deserialize(b);
91  return stream;
92 }
virtual void deserialize(const QByteArray &data)
Initialize from serialization data. If any error occurred, then a DeserializationException has to be ...

References AbstractDataLoader::deserialize().

Here is the call graph for this function: