| 47 | }; |
| 48 | |
| 49 | class jsonArrayIterator : jsonIteratorBase { |
| 50 | public: |
| 51 | jsonArrayIterator(json_value* root) : jsonIteratorBase(root) { |
| 52 | assert(m_root->type == json_array); |
| 53 | } |
| 54 | |
| 55 | json_value** begin() const { |
| 56 | return m_root->u.array.values; |
| 57 | } |
| 58 | json_value** end() const { |
| 59 | return m_root->u.array.values + m_root->u.array.length; |
| 60 | } |
| 61 | }; |
no outgoing calls
no test coverage detected