|
vg
tools for working with variation graphs
|
#include <option.hpp>
Public Types | |
| using | Value = vector< Item > |
Public Member Functions | |
| Option ()=delete | |
| virtual | ~Option ()=default |
| size_t | size () const |
| bool | empty () const |
| Value::value_type & | at (size_t i) |
| const Value::value_type & | at (size_t i) const |
| Value::iterator | begin () |
| Value::iterator | end () |
| Value::const_iterator | begin () const |
| Value::const_iterator | end () const |
Public Member Functions inherited from vg::BaseOption< vector< Item >, Parser > | |
| BaseOption ()=delete | |
| BaseOption (Configurable *owner, const string &long_opt, const string &short_opts, const vector< Item > &default_value, const string &description) | |
| virtual | ~BaseOption ()=default |
| BaseOption< vector< Item >, Parser > & | operator= (const BaseOption< vector< Item >, Parser > &other)=default |
| BaseOption< vector< Item >, Parser > & | operator= (const vector< Item > &other) |
| operator vector< Item > & () | |
| virtual const string & | get_long_option () const |
| virtual const string & | get_short_options () const |
| virtual const string & | get_description () const |
| virtual string | get_default_value () const |
| virtual bool | has_argument () const |
| virtual void | parse () |
| virtual void | parse (const string &arg) |
Public Member Functions inherited from vg::OptionInterface | |
| virtual | ~OptionInterface ()=default |
Additional Inherited Members | |
Protected Attributes inherited from vg::BaseOption< vector< Item >, Parser > | |
| string | long_opt |
| What is the options's long option name. More... | |
| string | short_opts |
| What is the option's short option name. More... | |
| string | description |
| How is this option described to the user? More... | |
| vector< Item > | value |
| vector< Item > | default_value |
Specialize and add vector methods. TODO: magically autodetect if a container type has things and expose them. TODO: switch to operator* and operator->.
| using vg::Option< vector< Item >, Parser >::Value = vector<Item> |
|
delete |
|
virtualdefault |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
1.9.1