BornAgain  1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
ModelUtils.h File Reference

Defines ModelUtils namespace. More...

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

Go to the source code of this file.

Namespaces

 ModelUtils
 

Functions

void ModelUtils::iterate (const QModelIndex &index, const QAbstractItemModel *model, const std::function< void(const QModelIndex &)> &fun)
 Iterates through all model indices and calls user function. More...
 
void ModelUtils::iterate_if (const QModelIndex &index, const QAbstractItemModel *model, const std::function< bool(const QModelIndex &)> &fun)
 Iterates through all model indices and calls user function. More...
 
QStringList ModelUtils::topItemNames (SessionModel *model, const QString &modelType="")
 Returns list of top iten manes. More...
 

Detailed Description

Defines ModelUtils namespace.

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 ModelUtils.h.