diff options
| author | 2023-02-02 13:52:59 +0100 | |
|---|---|---|
| committer | 2023-02-03 00:26:19 +0100 | |
| commit | c2f396a53745a74dd58de3b55092a77e0e9f639d (patch) | |
| tree | 414cdd055f6375d0bfb7dcabedb6dbd9121ad5e7 /src/Array.cpp | |
| parent | cbb43d790d7ba0575369cebdf6f8cb451bd210fd (diff) | |
| download | libplist-c2f396a53745a74dd58de3b55092a77e0e9f639d.tar.gz libplist-c2f396a53745a74dd58de3b55092a77e0e9f639d.tar.bz2 | |
Add lowercase begin/end iterator functions
... for Dictionary and Array
Diffstat (limited to 'src/Array.cpp')
| -rw-r--r-- | src/Array.cpp | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/Array.cpp b/src/Array.cpp index 5a4fd68..2722d14 100644 --- a/src/Array.cpp +++ b/src/Array.cpp | |||
| @@ -93,21 +93,41 @@ Array::iterator Array::Begin() | |||
| 93 | return _array.begin(); | 93 | return _array.begin(); |
| 94 | } | 94 | } |
| 95 | 95 | ||
| 96 | Array::iterator Array::begin() | ||
| 97 | { | ||
| 98 | return _array.begin(); | ||
| 99 | } | ||
| 100 | |||
| 96 | Array::iterator Array::End() | 101 | Array::iterator Array::End() |
| 97 | { | 102 | { |
| 98 | return _array.end(); | 103 | return _array.end(); |
| 99 | } | 104 | } |
| 100 | 105 | ||
| 106 | Array::iterator Array::end() | ||
| 107 | { | ||
| 108 | return _array.end(); | ||
| 109 | } | ||
| 110 | |||
| 101 | Array::const_iterator Array::Begin() const | 111 | Array::const_iterator Array::Begin() const |
| 102 | { | 112 | { |
| 103 | return _array.begin(); | 113 | return _array.begin(); |
| 104 | } | 114 | } |
| 105 | 115 | ||
| 116 | Array::const_iterator Array::begin() const | ||
| 117 | { | ||
| 118 | return _array.begin(); | ||
| 119 | } | ||
| 120 | |||
| 106 | Array::const_iterator Array::End() const | 121 | Array::const_iterator Array::End() const |
| 107 | { | 122 | { |
| 108 | return _array.end(); | 123 | return _array.end(); |
| 109 | } | 124 | } |
| 110 | 125 | ||
| 126 | Array::const_iterator Array::end() const | ||
| 127 | { | ||
| 128 | return _array.end(); | ||
| 129 | } | ||
| 130 | |||
| 111 | void Array::Append(Node* node) | 131 | void Array::Append(Node* node) |
| 112 | { | 132 | { |
| 113 | if (node) | 133 | if (node) |
