|
vg
tools for working with variation graphs
|
#include <options.hpp>
Public Member Functions | |
| Valuation (const std::string &option, const T &value) | |
| Make a preset entry that sets the given long option to the given value. More... | |
| virtual | ~Valuation ()=default |
| virtual std::unique_ptr< BaseValuation > | clone () const |
| Valuations can be cloned, retaining their derived type. More... | |
| Valuation (const Valuation< T > &other)=default | |
| Valuation (Valuation< T > &&other)=default | |
| Valuation< T > & | operator= (const Valuation< T > &other)=default |
| Valuation< T > & | operator= (Valuation< T > &&other)=default |
Public Member Functions inherited from vg::subcommand::BaseValuation | |
| BaseValuation (const std::string &option) | |
| Make a new BaseValuation for the given option. More... | |
| virtual | ~BaseValuation ()=default |
Public Attributes | |
| T | value |
| Value for the option. More... | |
Public Attributes inherited from vg::subcommand::BaseValuation | |
| std::string | option |
| Long option to give a value to. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from vg::subcommand::BaseValuation | |
| BaseValuation (const BaseValuation &other)=default | |
| BaseValuation (BaseValuation &&other)=default | |
| BaseValuation & | operator= (const BaseValuation &other)=default |
| BaseValuation & | operator= (BaseValuation &&other)=default |
Represents an option being set to a value. Actually has the value.
| vg::subcommand::Valuation< T >::Valuation | ( | const std::string & | option, |
| const T & | value | ||
| ) |
Make a preset entry that sets the given long option to the given value.
|
virtualdefault |
|
default |
|
default |
|
virtual |
Valuations can be cloned, retaining their derived type.
Implements vg::subcommand::BaseValuation.
|
default |
|
default |
| T vg::subcommand::Valuation< T >::value |
Value for the option.
1.8.17