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

◆ get_layout()

virtual std::optional< Kakshya::CompositeLayout > MayaFlux::IO::CompositeReader::get_layout ( ) const
pure virtual

Inspect the schema established by open() without reading data.

Returns
Copy of the active layout, or std::nullopt when no file is currently open or open() did not succeed in establishing one.
Note
Returned by value: the copy remains valid after the reader is closed or destroyed, unlike a borrowed CompositeArray::layout(). Implementations must return a finalized layout, one whose stride_bytes() and field offsets are already assigned; a layout only becomes finalized when a CompositeArray is constructed from it.

Implemented in MayaFlux::IO::DelimitedTextReader.

References MayaFlux::create_container().

+ Here is the call graph for this function: