MCPcopy Create free account
hub / github.com/NPP-JSONViewer/JSON-Viewer / GetNodeValue

Method GetNodeValue

src/NppJsonViewer/TreeViewCtrl.cpp:227–237  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

225}
226
227auto TreeViewCtrl::GetNodeValue(HTREEITEM hti) const -> std::wstring
228{
229 std::wstring retVal = GetNodeName(hti, true);
230
231 auto pos = retVal.find(L" : ");
232 if (pos != std::wstring::npos)
233 {
234 retVal = retVal.substr(pos + 3);
235 }
236 return retVal;
237}
238
239auto TreeViewCtrl::GetNodePath(HTREEITEM hti) const -> std::wstring
240{

Callers 2

SearchInTreeMethod · 0.80
CopyValueMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected