diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/Array.cpp | 4 | ||||
| -rw-r--r-- | src/Dictionary.cpp | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/src/Array.cpp b/src/Array.cpp index 2722d14..7826494 100644 --- a/src/Array.cpp +++ b/src/Array.cpp | |||
| @@ -128,6 +128,10 @@ Array::const_iterator Array::end() const | |||
| 128 | return _array.end(); | 128 | return _array.end(); |
| 129 | } | 129 | } |
| 130 | 130 | ||
| 131 | const size_t Array::size() const { | ||
| 132 | return _array.size(); | ||
| 133 | } | ||
| 134 | |||
| 131 | void Array::Append(Node* node) | 135 | void Array::Append(Node* node) |
| 132 | { | 136 | { |
| 133 | if (node) | 137 | if (node) |
diff --git a/src/Dictionary.cpp b/src/Dictionary.cpp index 4094d2c..5e76cb6 100644 --- a/src/Dictionary.cpp +++ b/src/Dictionary.cpp | |||
| @@ -134,6 +134,10 @@ Dictionary::const_iterator Dictionary::end() const | |||
| 134 | return _map.end(); | 134 | return _map.end(); |
| 135 | } | 135 | } |
| 136 | 136 | ||
| 137 | const size_t Dictionary::size() const { | ||
| 138 | return _map.size(); | ||
| 139 | } | ||
| 140 | |||
| 137 | Dictionary::iterator Dictionary::Find(const std::string& key) | 141 | Dictionary::iterator Dictionary::Find(const std::string& key) |
| 138 | { | 142 | { |
| 139 | return _map.find(key); | 143 | return _map.find(key); |
