refs #450 Added disk file saving and loading of CValueCache.

This commit is contained in:
Mathew Sutcliffe
2015-09-05 16:43:30 +01:00
parent ca9256be82
commit 54bc3f265a
5 changed files with 110 additions and 0 deletions

View File

@@ -332,6 +332,9 @@ namespace BlackMisc
//! Insert new item with key and value
iterator insert(const Key &key, const Value &value) { return m_impl.insert(key, value); }
//! Insert all items of other dictionary into this dictionary
void insert(const CDictionary &other) { for (auto i = other.cbegin(); i != other.cend(); ++i) { insert(i.key(), i.value()); } }
//! Returns true if dictionary is empty
bool isEmpty() const { return m_impl.isEmpty(); }