16 #error no need to expose this header to Swig
20 #ifndef BORNAGAIN_PARAM_NODE_NODEUTILS_H
21 #define BORNAGAIN_PARAM_NODE_NODEUTILS_H
31 std::vector<std::tuple<const INode*, int, const INode*>>
progenyPlus(
const INode* node,
Base class for tree-like structures containing parameterized objects.
std::vector< std::tuple< const INode *, int, const INode * > > progenyPlus(const INode *node, int level=0)
Returns a vector of triples (descendant, depth, parent)
std::string nodeToString(const INode *node)
Returns multiline string representing tree structure starting from given node.
std::string nodePath(const INode *node, const INode *root=nullptr)
Returns path composed of node's displayName, with respect to root node.