vg
tools for working with variation graphs
|
#include <options.hpp>
Public Member Functions | |
template<typename T > | |
Preset & | add_entry (const std::string &option, const T &value) |
As part of this preset, set the given option to the given value. More... | |
void | apply (BaseOptionGroup &parser) const |
Apply stored presets to the given parser. More... | |
Public Attributes | |
std::vector< std::unique_ptr< BaseValuation > > | entries |
Represents a named preset of command-line option default overrides. Options are organized by long option name.
Make one of these, and use add_entry() to add values to it, and then use apply(root_option_group) to apply it.
|
inline |
As part of this preset, set the given option to the given value.
|
inline |
Apply stored presets to the given parser.
std::vector<std::unique_ptr<BaseValuation> > vg::subcommand::Preset::entries |