|
libpsynth 0.2.1
|
Option that parses the param using a stringstream. More...
#include <arg_parser.hpp>


Public Member Functions | |
| option_stream (T *data) | |
| Constructor. | |
| bool | parse (const char *arg) |
| Receives a string. | |
Option that parses the param using a stringstream.
Note that template param T mus have defined its flow input operator.
| psynth::base::option_stream< T >::option_stream | ( | T * | data | ) | [inline] |
Constructor.
| T | A pointer where to store the read value. |
| bool psynth::base::option_stream< T >::parse | ( | const char * | arg | ) | [inline, virtual] |
Receives a string.
| arg | The string to receive. |
true. Reimplemented from psynth::base::option.
1.7.4