MCPcopy Create free account
hub / github.com/codereader/DarkRadiant / keyExists

Method keyExists

radiantcore/xmlregistry/RegistryTree.cpp:50–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48}
49
50bool RegistryTree::keyExists(const std::string& key)
51{
52 std::string fullKey = prepareKey(key);
53
54 xml::NodeList result = _tree.findXPath(fullKey);
55 return !result.empty();
56}
57
58std::size_t RegistryTree::deleteXPath(const std::string& path)
59{

Callers

nothing calls this directly

Calls 2

findXPathMethod · 0.45
emptyMethod · 0.45

Tested by

no test coverage detected