|
libpsynth 0.2.1
|
An arg_parser option that sets a conf_node to a given value if the option is parsed. More...
#include <option_conf.hpp>


Public Member Functions | |
| option_conf_value (const T &val, conf_node &node) | |
| Constructor. | |
| bool | parse () |
| Parse the argument. | |
An arg_parser option that sets a conf_node to a given value if the option is parsed.
It does not catch any argument so its more a flag type option, it just sets the node to a value if the option is present and leaves it unchanged otherwise.
| psynth::base::option_conf_value< T >::option_conf_value | ( | const T & | val, |
| conf_node & | node | ||
| ) | [inline] |
Constructor.
| val | The value to set the node to if the argument is present. |
| node | The node to change if the the argument is present. |
| bool psynth::base::option_conf_value< T >::parse | ( | ) | [inline, virtual] |
1.7.4