summaryrefslogtreecommitdiffstats
path: root/src/Dictionary.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Dictionary.cpp')
-rw-r--r--src/Dictionary.cpp15
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()
return _map.end();
}
+Dictionary::const_iterator Dictionary::Begin() const
+{
+ return _map.begin();
+}
+
+Dictionary::const_iterator Dictionary::End() const
+{
+ return _map.end();
+}
+
Dictionary::iterator Dictionary::Find(const std::string& key)
{
return _map.find(key);
}
+Dictionary::const_iterator Dictionary::Find(const std::string& key) const
+{
+ return _map.find(key);
+}
+
Dictionary::iterator Dictionary::Set(const std::string& key, const Node* node)
{
if (node)