| 150 | } |
| 151 | |
| 152 | void Next() { |
| 153 | if (!result) { |
| 154 | return; |
| 155 | } |
| 156 | // iterate to next position |
| 157 | row_data.row_index++; |
| 158 | row_in_chunk++; |
| 159 | auto &chunk = *result->chunks[chunk_idx]; |
| 160 | if (row_in_chunk >= chunk.size()) { |
| 161 | row_in_chunk = 0; |
| 162 | chunk_idx++; |
| 163 | } |
| 164 | if (!result->exhausted_result && Finished()) { |
| 165 | // convert the next chunk (if we have any) |
| 166 | result->TryConvertChunk(); |
| 167 | } |
| 168 | // read data from this position |
| 169 | AssignData(); |
| 170 | } |
| 171 | |
| 172 | RenderingResultIterator &operator++() { |
| 173 | Next(); |
nothing calls this directly
no test coverage detected