Skip to content

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

Description

@mortbopet

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions