|
| virtual | ~RangeArgSpec ()=default |
| |
| virtual bool | is_static () const |
| | Return true if this link never changes. We assume we are static by default. More...
|
| |
| virtual TickChainLink & | chain (TickChainLink &next) |
| |
Public Member Functions inherited from vg::subcommand::ValueArgSpec< T, Receiver, Range< T > > |
| | ValueArgSpec (const std::string &option, char short_option, T Receiver::*dest, const T &default_value, const std::string &help, const ValidatorFunction< T > &validator) |
| | Make an option with a long and short option name. More...
|
| |
| | ValueArgSpec (const std::string &option, T Receiver::*dest, const T &default_value, const std::string &help, const ValidatorFunction< T > &validator) |
| | Make an option with a long option name only. More...
|
| |
| virtual | ~ValueArgSpec ()=default |
| |
| virtual void | set_value (const T &replacement) |
| | Allow setting our stored value. More...
|
| |
| virtual T | get_value () const |
| | And getting our current effective value. More...
|
| |
| virtual bool | was_set () const |
| | Return true if a value has been set from parsing or a preset. More...
|
| |
| virtual void | parse (const char *optarg) |
| |
| virtual void | apply (Receiver &receiver) const |
| | Apply the value to the right field of the given object. More...
|
| |
| virtual void | print_metavar (ostream &out, const char *sep="") const |
| | Print value metavar placeholder to the given stream after the given separator. More...
|
| |
| virtual bool | print_value (ostream &out, const char *sep="") const |
| |
| virtual void | print_default (ostream &out) const |
| | Print default value to the given stream, if appropriate. More...
|
| |
| virtual struct option | get_option_struct () const |
| | Get the getopt structure for this option. Option must outlive it and not move. More...
|
| |
Public Member Functions inherited from vg::subcommand::ArgSpec< T, Receiver > |
| | ArgSpec (const std::string &option, char short_option, T Receiver::*dest, const T &default_value, const std::string &help, const ValidatorFunction< T > &validator) |
| | Make an option with a long and short option name. More...
|
| |
| | ArgSpec (const std::string &option, T Receiver::*dest, const T &default_value, const std::string &help, const ValidatorFunction< T > &validator) |
| | Make an option with a long option name only. More...
|
| |
| virtual | ~ArgSpec ()=default |
| |
| virtual T | get_value () const =0 |
| | And getting our current effective value. More...
|
| |
| virtual bool | was_set () const =0 |
| | Return true if a value has been set from parsing or a preset. More...
|
| |
| virtual void | preset (const BaseValuation &entry) |
| |
| virtual void | set (const BaseValuation &entry) |
| |
| virtual void | query (BaseValuation &entry) const |
| |
Public Member Functions inherited from vg::subcommand::BaseArgSpec< Receiver > |
| | BaseArgSpec (const std::string &option, char short_option, const std::string &help) |
| | Make an option with a long and short option name. More...
|
| |
| | BaseArgSpec (const std::string &option, const std::string &help) |
| | Make an option with a long option name only. More...
|
| |
| virtual | ~BaseArgSpec ()=default |
| |
| virtual bool | print (ostream &out, const char *before="", OptionFormat format=OptionFormat::CLI) const |
| |
| virtual struct option | get_option_struct () const =0 |
| | Get the getopt structure for this option. Option must outlive it and not move. More...
|
| |
Public Member Functions inherited from vg::subcommand::TickChainLink |
| | TickChainLink ()=default |
| |
| | TickChainLink (const TickChainLink &other)=delete |
| |
| | TickChainLink (TickChainLink &&other)=delete |
| |
| TickChainLink & | operator= (const TickChainLink &other)=delete |
| |
| TickChainLink & | operator= (TickChainLink &&other)=delete |
| |
| virtual | ~TickChainLink ()=default |
| |
| virtual void | reset_chain () |
| | Reset the chain to its initial values. More...
|
| |
| virtual bool | tick_chain () |
| |
| virtual std::function< void(const std::function< void(void)> &)> | get_iterator () |
| |
template<typename T, typename Receiver>
struct vg::subcommand::RangeArgSpec< T, Receiver >
Definition structure for value-having options that can run through a range.