#include <conf.hh>
Public Member Functions | |
int | get_int () const |
Return the integer value of the option. | |
float | get_float () const |
Return the float value of the option. | |
double | get_double () const |
Return the double value of the option. | |
const std::string & | get_str () const |
Return the string of the option. | |
const char * | get_c_str () const |
Return the string of the option. | |
Public Attributes | |
unsigned char | short_name |
The short name used for command line. | |
std::string | long_name |
The long name used also in configuration files. | |
std::string | value |
The value parsed from command line or file. | |
bool | required |
Is the option required. | |
bool | needs_argument |
Does the option need an argument. | |
bool | specified |
Has the user specified the option. | |
std::string | help |
The help string of the option. | |
std::string | name |
The name string of the option: "-h --help", for example. |