Mercurial > hg > orthanc-databases
comparison Framework/Common/Dictionary.h @ 305:87f0e29a1dc1
added Dictionary::Clear()
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 12 Jul 2021 09:40:01 +0200 |
parents | 3236894320d6 |
children | 16aac0287485 |
comparison
equal
deleted
inserted
replaced
304:dd4b0edd1661 | 305:87f0e29a1dc1 |
---|---|
34 typedef std::map<std::string, IValue*> Values; | 34 typedef std::map<std::string, IValue*> Values; |
35 | 35 |
36 Values values_; | 36 Values values_; |
37 | 37 |
38 public: | 38 public: |
39 ~Dictionary(); | 39 ~Dictionary() |
40 { | |
41 Clear(); | |
42 } | |
43 | |
44 void Clear(); | |
40 | 45 |
41 bool HasKey(const std::string& key) const; | 46 bool HasKey(const std::string& key) const; |
42 | 47 |
43 void Remove(const std::string& key); | 48 void Remove(const std::string& key); |
44 | 49 |