| 98 | |
| 99 | |
| 100 | DataBuffer KeyValueStore::GetBuffer(const std::string& name) const |
| 101 | { |
| 102 | BNDataBuffer* buffer = BNGetKeyValueStoreBuffer(m_object, name.c_str()); |
| 103 | if (buffer == nullptr) |
| 104 | { |
| 105 | throw DatabaseException("Unknown key"); |
| 106 | } |
| 107 | return DataBuffer(buffer); |
| 108 | } |
| 109 | |
| 110 | |
| 111 | void KeyValueStore::SetValue(const std::string& name, const Json::Value& value) |
nothing calls this directly
no test coverage detected