Inshaping
0.1
|
Option Struct Reference
Data structure of a program option. More...
#include <anyarg.h>
Public Member Functions | |
Option () | |
bool | set_value (const char *opt_value) |
bool | set_desc_meta (const char *opt_desc) |
Public Attributes | |
char | type |
char | letter |
string | name |
string | value_str |
union { | |
bool value_bool | |
int value_int | |
double value_double | |
}; | |
string | desc |
string | meta |
Detailed Description
Data structure of a program option.
Constructor & Destructor Documentation
◆ Option()
|
inline |
Member Function Documentation
◆ set_desc_meta()
bool Option::set_desc_meta | ( | const char * | opt_desc | ) |
◆ set_value()
bool Option::set_value | ( | const char * | opt_value | ) |
Member Data Documentation
◆ @1
union { ... } |
◆ desc
string Option::desc |
◆ letter
char Option::letter |
◆ meta
string Option::meta |
◆ name
string Option::name |
◆ type
char Option::type |
◆ value_bool
bool Option::value_bool |
◆ value_double
double Option::value_double |
◆ value_int
int Option::value_int |
◆ value_str
string Option::value_str |
The documentation for this struct was generated from the following file:
- include/anyarg.h
Generated by 1.8.14