MCPcopy Create free account
hub / github.com/bluescan/tacentview / NodeToPath

Method NodeToPath

Src/FileDialog.cpp:1911–1922  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1909
1910
1911void FileDialog::NodeToPath(tList<tStringItem>& destPathItems, const TreeNode* node)
1912{
1913 destPathItems.Empty();
1914 if (!node)
1915 return;
1916
1917 while (node)
1918 {
1919 destPathItems.Insert(new tStringItem(node->Name));
1920 node = node->Parent;
1921 }
1922}
1923
1924
1925void FileDialog::DirToPath(tList<tStringItem>& destPath, const tString& srcdir)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected