25 #ifndef INCLUDED_TreeNodeFullPath_h_GUID_46FC8EF9_1977_4086_CC13_D85136A55414
26 #define INCLUDED_TreeNodeFullPath_h_GUID_46FC8EF9_1977_4086_CC13_D85136A55414
41 inline void buildPathRecursively(util::TreeNode<T>
const &node,
42 const char pathSeparator[],
44 auto parent = node.getParent();
46 buildPathRecursively(*parent, pathSeparator, os);
49 os << pathSeparator << node.getName();
57 const char pathSeparator[]) {
60 return std::string(pathSeparator);
62 std::ostringstream os;
63 buildPathRecursively(node, pathSeparator, os);
71 #endif // INCLUDED_TreeNodeFullPath_h_GUID_46FC8EF9_1977_4086_CC13_D85136A55414
The main namespace for all C++ elements of the framework, internal and external.
std::string getTreeNodeFullPath(util::TreeNode< T > const &node, const char pathSeparator[])
Given a tree node and a path separator, get the full path identifying that tree node.