Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: Make SaveBinary.h expose ostream's instead of output file paths #115

Open
mortbopet opened this issue Sep 6, 2024 · 0 comments

Comments

@mortbopet
Copy link
Contributor

SaveBinary.h provides convenient operations for printing a plan to various formats. However, the API forces the user to print things to disk. A more useful API would be to accept a std::ostream instead of a output_filename, thus allowing the user to

  1. specify where they'd like things to get printed to
  2. remove code duplication in SaveBinary.cpp regarding opening/closing file streams.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant