vg
tools for working with variation graphs
|
#include <options.hpp>
Public Member Functions | |
BaseValuation (const std::string &option) | |
Make a new BaseValuation for the given option. More... | |
virtual | ~BaseValuation ()=default |
virtual std::unique_ptr< BaseValuation > | clone () const =0 |
BaseValuations can be cloned, retaining their derived type. More... | |
Public Attributes | |
std::string | option |
Long option to give a value to. More... | |
Protected Member Functions | |
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. Base interface.
vg::subcommand::BaseValuation::BaseValuation | ( | const std::string & | option | ) |
Make a new BaseValuation for the given option.
|
virtualdefault |
|
protecteddefault |
|
protecteddefault |
|
pure virtual |
BaseValuations can be cloned, retaining their derived type.
Implemented in vg::subcommand::Valuation< T >.
|
protecteddefault |
|
protecteddefault |
std::string vg::subcommand::BaseValuation::option |
Long option to give a value to.