diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/Dictionary.cpp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/Dictionary.cpp b/src/Dictionary.cpp index 5e2e1c0..59908c6 100644 --- a/src/Dictionary.cpp +++ b/src/Dictionary.cpp | |||
| @@ -104,11 +104,26 @@ Dictionary::iterator Dictionary::End() | |||
| 104 | return _map.end(); | 104 | return _map.end(); |
| 105 | } | 105 | } |
| 106 | 106 | ||
| 107 | Dictionary::const_iterator Dictionary::Begin() const | ||
| 108 | { | ||
| 109 | return _map.begin(); | ||
| 110 | } | ||
| 111 | |||
| 112 | Dictionary::const_iterator Dictionary::End() const | ||
| 113 | { | ||
| 114 | return _map.end(); | ||
| 115 | } | ||
| 116 | |||
| 107 | Dictionary::iterator Dictionary::Find(const std::string& key) | 117 | Dictionary::iterator Dictionary::Find(const std::string& key) |
| 108 | { | 118 | { |
| 109 | return _map.find(key); | 119 | return _map.find(key); |
| 110 | } | 120 | } |
| 111 | 121 | ||
| 122 | Dictionary::const_iterator Dictionary::Find(const std::string& key) const | ||
| 123 | { | ||
| 124 | return _map.find(key); | ||
| 125 | } | ||
| 126 | |||
| 112 | Dictionary::iterator Dictionary::Set(const std::string& key, const Node* node) | 127 | Dictionary::iterator Dictionary::Set(const std::string& key, const Node* node) |
| 113 | { | 128 | { |
| 114 | if (node) | 129 | if (node) |
