summaryrefslogtreecommitdiffstats
path: root/include
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 /include
parentcbb43d790d7ba0575369cebdf6f8cb451bd210fd (diff)
downloadlibplist-c2f396a53745a74dd58de3b55092a77e0e9f639d.tar.gz
libplist-c2f396a53745a74dd58de3b55092a77e0e9f639d.tar.bz2
Add lowercase begin/end iterator functions
... for Dictionary and Array
Diffstat (limited to 'include')
-rw-r--r--include/plist/Array.h4
-rw-r--r--include/plist/Dictionary.h4
2 files changed, 8 insertions, 0 deletions
diff --git a/include/plist/Array.h b/include/plist/Array.h
index 5f82e83..2b25e94 100644
--- a/include/plist/Array.h
+++ b/include/plist/Array.h
@@ -44,9 +44,13 @@ public :
Node* operator[](unsigned int index);
iterator Begin();
+ iterator begin();
iterator End();
+ iterator end();
const_iterator Begin() const;
+ const_iterator begin() const;
const_iterator End() const;
+ const_iterator end() const;
void Append(Node* node);
void Insert(Node* node, unsigned int pos);
void Remove(Node* node);
diff --git a/include/plist/Dictionary.h b/include/plist/Dictionary.h
index a3ac3a7..f3385e3 100644
--- a/include/plist/Dictionary.h
+++ b/include/plist/Dictionary.h
@@ -45,10 +45,14 @@ public :
Node* operator[](const std::string& key);
iterator Begin();
+ iterator begin();
iterator End();
+ iterator end();
iterator Find(const std::string& key);
const_iterator Begin() const;
+ const_iterator begin() const;
const_iterator End() const;
+ const_iterator end() const;
const_iterator Find(const std::string& key) const;
iterator Set(const std::string& key, const Node* node);
iterator Set(const std::string& key, const Node& node);