forked from libqueso/queso
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
More granular options parsing for Environment
Partially addresses libqueso#569 Following the lead from GPMSAOptions, refactor EnvOptionsValues to allow construction from defaults vs. passed options object, with optional override from parsed user input file. Finer grained construct, set_defaults(), parse(), further allow a client to intersperse setting options via C++ as well since member variables are public. This commit changes a couple historical behaviors: * If there was an inbound EnvOptionsValues object, the input file never got parsed. * An Environment could have a NULL m_optionsObj; now we construct one with default values. This could lead to subsequent code cleanup. Retains optional boost::program_options parser for now.
- Loading branch information
Showing
4 changed files
with
256 additions
and
186 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.