#include <XLStreamReader.hpp>
◆ XLStreamReader() [1/3]
| OpenXLSX::XLStreamReader::XLStreamReader |
( |
| ) |
|
|
default |
◆ XLStreamReader() [2/3]
◆ XLStreamReader() [3/3]
◆ ~XLStreamReader()
| OpenXLSX::XLStreamReader::~XLStreamReader |
( |
| ) |
|
◆ close()
| void OpenXLSX::XLStreamReader::close |
( |
| ) |
|
Closes the reader and releases resources.
◆ currentRow()
| uint32_t OpenXLSX::XLStreamReader::currentRow |
( |
| ) |
const |
Returns the 1-based index of the row last read by nextRow().
- Returns
- The current row index.
◆ hasNext()
| bool OpenXLSX::XLStreamReader::hasNext |
( |
| ) |
|
Checks if there are more rows to read.
- Returns
- true if there are more rows, false otherwise.
◆ nextRow()
| std::vector< XLCellValue > OpenXLSX::XLStreamReader::nextRow |
( |
| ) |
|
Parses and returns the next row of data using a SAX-style state machine.
Does not allocate a DOM tree per row; instead, it scans the raw XML bytes directly. This is the key optimization for large file streaming.
- Returns
- A vector of XLCellValue representing the row. Empty cells are filled as XLValueType::Empty.
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ XLWorksheet
The documentation for this class was generated from the following files: