MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ take_rows()

std::optional< Kakshya::CompositeArray > MayaFlux::IO::XmlReader::take_rows ( )
nodiscard

Move the parsed rows out and close the reader.

Returns
The rows, or nullopt when no document is open. Borrowed views and rows_view() are invalid afterwards.

Definition at line 228 of file XmlReader.cpp.

229{
230 std::optional<Kakshya::CompositeArray> rows = std::move(m_rows);
231 close();
232 return rows;
233}
void close() override
Release parsed rows and reset the read position.
std::optional< Kakshya::CompositeArray > m_rows

References close(), and m_rows.

Referenced by MayaFlux::IO::XmlDocument::load().

Here is the call graph for this function:
Here is the caller graph for this function: