MCPcopy Create free account
hub / github.com/MyGUI/mygui / getExistValue

Method getExistValue

Tools/EditorFramework/SettingsManager.cpp:64–72  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

62 }
63
64 bool SettingsManager::getExistValue(CString _path)
65 {
66 pugi::xpath_node node = mUserDocument->document_element().select_single_node(_path.c_str());
67 if (!node.node().empty())
68 return true;
69
70 node = mDocument->document_element().select_single_node(_path.c_str());
71 return !node.node().empty();
72 }
73
74 std::string SettingsManager::getValue(CString _path)
75 {

Callers

nothing calls this directly

Calls 5

select_single_nodeMethod · 0.45
document_elementMethod · 0.45
c_strMethod · 0.45
emptyMethod · 0.45
nodeMethod · 0.45

Tested by

no test coverage detected