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

Defines ParameterTreeUtils namespace. More...

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

Go to the source code of this file.

Namespaces

 ParameterTreeUtils
 The ParameterTreeBuilder namespace contains helper functions to create container with ParameterItems.
 

Functions

void ParameterTreeUtils::createParameterTree (JobItem *jobItem)
 
QString ParameterTreeUtils::domainNameToParameterName (const QString &domainName, const SessionItem *source)
 Converts domain name to parameterItem name. More...
 
QVector< QPair< QString, QString > > ParameterTreeUtils::parameterDictionary (const SessionItem *source)
 Correspondance of parameter name to translated name for all properties found in source in its children. More...
 
QString ParameterTreeUtils::parameterNameToDomainName (const QString &parName, const SessionItem *source)
 Converts parameter name to domain name. More...
 
SessionItemParameterTreeUtils::parameterNameToLinkedItem (const QString &parName, const SessionItem *source)
 Converts parameter item name to the corresponding item in the tree below the source. More...
 
QStringList ParameterTreeUtils::parameterTreeNames (const SessionItem *source)
 Creates list with parameter names of source item. More...
 
void ParameterTreeUtils::populateParameterContainer (SessionItem *container, const SessionItem *source)
 Populates ParameterContainer with ParameterItem's corresponding to all properties found in a source item. More...
 
QStringList ParameterTreeUtils::translatedParameterTreeNames (const SessionItem *source)
 Creates domain translated list of parameter names for source item. More...
 
void ParameterTreeUtils::visitParameterContainer (SessionItem *container, std::function< void(ParameterItem *)> fun)
 Visit all ParameterItem in container and execute user function. More...
 

Detailed Description

Defines ParameterTreeUtils 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 ParameterTreeUtils.h.