BornAgain
1.18.0
Simulate and fit neutron and x-ray scattering at grazing incidence
|
Functions | |
std::string | nodeToString (const INode &node) |
std::string | nodePath (const INode &node, const INode *root=nullptr) |
std::string NodeUtils::nodeToString | ( | const INode & | node | ) |
Returns multiline string representing tree structure starting from given node.
Definition at line 67 of file NodeUtils.cpp.
References NodeIterator< Strategy >::depth(), NodeIterator< Strategy >::first(), NodeIterator< Strategy >::getCurrent(), NodeIterator< Strategy >::isDone(), NodeIterator< Strategy >::next(), and anonymous_namespace{NodeUtils.cpp}::nodeString().
Referenced by INode::treeToString().
Returns path composed of node's displayName, with respect to root node.
Definition at line 82 of file NodeUtils.cpp.
References INode::displayName(), and INode::parent().
Referenced by INode::createParameterTree().