| 48 | } |
| 49 | |
| 50 | bool 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 | |
| 58 | std::size_t RegistryTree::deleteXPath(const std::string& path) |
| 59 | { |