summaryrefslogtreecommitdiffstats
path: root/src/Dictionary.cpp
diff options
context:
space:
mode:
authorGravatar Daniel2023-02-02 13:52:59 +0100
committerGravatar Nikias Bassen2023-02-03 00:26:19 +0100
commitc2f396a53745a74dd58de3b55092a77e0e9f639d (patch)
tree414cdd055f6375d0bfb7dcabedb6dbd9121ad5e7 /src/Dictionary.cpp
parentcbb43d790d7ba0575369cebdf6f8cb451bd210fd (diff)
downloadlibplist-c2f396a53745a74dd58de3b55092a77e0e9f639d.tar.gz
libplist-c2f396a53745a74dd58de3b55092a77e0e9f639d.tar.bz2
Add lowercase begin/end iterator functions
... for Dictionary and Array
Diffstat (limited to 'src/Dictionary.cpp')
-rw-r--r--src/Dictionary.cpp20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/Dictionary.cpp b/src/Dictionary.cpp
index ea04e81..4094d2c 100644
--- a/src/Dictionary.cpp
+++ b/src/Dictionary.cpp
@@ -99,21 +99,41 @@ Dictionary::iterator Dictionary::Begin()
return _map.begin();
}
+Dictionary::iterator Dictionary::begin()
+{
+ return _map.begin();
+}
+
Dictionary::iterator Dictionary::End()
{
return _map.end();
}
+Dictionary::iterator Dictionary::end()
+{
+ return _map.end();
+}
+
Dictionary::const_iterator Dictionary::Begin() const
{
return _map.begin();
}
+Dictionary::const_iterator Dictionary::begin() const
+{
+ return _map.begin();
+}
+
Dictionary::const_iterator Dictionary::End() const
{
return _map.end();
}
+Dictionary::const_iterator Dictionary::end() const
+{
+ return _map.end();
+}
+
Dictionary::iterator Dictionary::Find(const std::string& key)
{
return _map.find(key);