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

◆ choose_composite() [1/2]

MAYAFLUX_API std::shared_ptr< Kakshya::CompositeContainer > MayaFlux::choose_composite ( )

Choose a CSV or TSV file and load it as a CompositeContainer.

Every field is UTF-8 text. For bounded reading of large files, use IOManager directly.

Returns
Loaded container, or nullptr on cancellation or failure.

Definition at line 242 of file Depot.cpp.

243{
244 if (!require_portal("choose_composite"))
245 return nullptr;
246
247 return Portal::System::Dialog::open_file<std::shared_ptr<Kakshya::CompositeContainer>>(
248 [](const fs::path& p) { return get_io_manager()->load_composite(p.string()); },
249 [](Core::SystemDialogError) { },
250 k_composite_filters);
251}
std::shared_ptr< IO::IOManager > get_io_manager()
Retrieves the global IOManager instance for file loading and buffer management.
Definition Depot.cpp:575

References get_io_manager().

Referenced by MayaFlux::Creator::read_file().

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