Skip to content

Add I/O ReadOptions and WriteOptions - #2184

Merged
danrbailey merged 6 commits into
AcademySoftwareFoundation:feature/iofrom
danrbailey:io_options
May 7, 2026
Merged

Add I/O ReadOptions and WriteOptions#2184
danrbailey merged 6 commits into
AcademySoftwareFoundation:feature/iofrom
danrbailey:io_options

Conversation

@danrbailey

Copy link
Copy Markdown
Contributor

This extends the existing I/O API - Archive, File, Stream to add io::ReadOptions and io::WriteOptions as arguments.

All private and protected member functions have been updated to work with these two new classes instead, which replaces filtering arguments such as bbox-filtering and partial topology-only options.

There is no breakages to the public API. At present io::WriteOptions does nothing. Existing read methods that expose filtering arguments such as bbox now create a local io::ReadOptions instance and call through to the new methods. In subsequent PRs, ReadOptions will continue to grow with new filtering options that were not previously available.

All unit tests continue to pass.

Signed-off-by: Dan Bailey <danbailey@ilm.com>
Signed-off-by: Dan Bailey <danbailey@ilm.com>
Signed-off-by: Dan Bailey <danbailey@ilm.com>
Signed-off-by: Dan Bailey <danbailey@ilm.com>
Signed-off-by: Dan Bailey <danbailey@ilm.com>
@danrbailey
danrbailey changed the base branch from feature/io2 to feature/io May 7, 2026 19:01
@danrbailey
danrbailey merged commit d1438a1 into AcademySoftwareFoundation:feature/io May 7, 2026
43 checks passed
@danrbailey
danrbailey deleted the io_options branch May 7, 2026 21:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants