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

◆ set_layout()

bool MayaFlux::IO::DelimitedTextReader::set_layout ( Kakshya::CompositeLayout  layout)

Set an exact field layout before opening a file.

Parameters
layoutNamed arithmetic or text fields in file order.
Returns
False when a file is already open.

Definition at line 179 of file DelimitedTextReader.cpp.

180{
181 if (is_open())
182 return false;
183
184 m_requested_layout = std::move(layout);
185 return true;
186}
std::optional< Kakshya::CompositeLayout > m_requested_layout
bool is_open() const override
Whether a file is currently open.

References is_open(), and m_requested_layout.

+ Here is the call graph for this function: