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

Defines collection of utility functions for INode. More...

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

Go to the source code of this file.

Namespaces

 NodeUtils
 

Macros

#define BORNAGAIN_PARAM_NODE_NODEUTILS_H
 

Functions

std::string NodeUtils::nodePath (const INode *node, const INode *root=nullptr)
 Returns path composed of node's displayName, with respect to root node. More...
 
std::string NodeUtils::nodeToString (const INode *node)
 Returns multiline string representing tree structure starting from given node. More...
 
std::vector< std::tuple< const INode *, int, const INode * > > NodeUtils::progenyPlus (const INode *node, int level=0)
 Returns a vector of triples (descendant, depth, parent) More...
 

Detailed Description

Defines collection of utility functions for INode.

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

Macro Definition Documentation

◆ BORNAGAIN_PARAM_NODE_NODEUTILS_H

#define BORNAGAIN_PARAM_NODE_NODEUTILS_H

Definition at line 21 of file NodeUtils.h.