Defines macros to ease creation of command line flags.
|
#define | DECLARE_bool(name) |
| Reuse a bool flag from another file.
|
|
#define | DECLARE_int8(name) |
| Reuse an int8_t flag from another file.
|
|
#define | DECLARE_int16(name) |
| Reuse an int16_t flag from another file.
|
|
#define | DECLARE_int32(name) |
| Reuse an int32_t flag from another file.
|
|
#define | DECLARE_uint8(name) |
| Reuse a uint8_t flag from another file.
|
|
#define | DECLARE_uint16(name) |
| Reuse a uint16_t flag from another file.
|
|
#define | DECLARE_uint32(name) |
| Reuse a uint32_t flag from another file.
|
|
#define | DECLARE_string(name) |
| Reuse a string flag from another file.
|
|
#define | DEFINE_bool(name, default_value, help_str) |
| Create a new longname bool flag.
|
|
#define | DEFINE_s_bool(name, short_opt, default_value, help_str) |
| Create a new bool flag with a long and short name.
|
|
#define | DEFINE_default_bool(name, default_value, help_str) |
| Create a new longname bool flag that doesn't require an argument.
|
|
#define | DEFINE_s_default_bool(name, short_opt, default_value, help_str) |
| Create a new bool flag with a long and short name that doesn't require an argument.
|
|
#define | DEFINE_int8(name, default_value, help_str) |
| Create a new longname int8_t flag.
|
|
#define | DEFINE_s_int8(name, short_opt, default_value, help_str) |
| Create a new int8_t flag with a long and short name.
|
|
#define | DEFINE_uint8(name, default_value, help_str) |
| Create a new longname uint8_t flag.
|
|
#define | DEFINE_s_uint8(name, short_opt, default_value, help_str) |
| Create a new uint8_t flag with a long and short name.
|
|
#define | DEFINE_int16(name, default_value, help_str) |
| Create a new longname int16_t flag.
|
|
#define | DEFINE_s_int16(name, short_opt, default_value, help_str) |
| Create a new int16_t flag with a long and short name.
|
|
#define | DEFINE_uint16(name, default_value, help_str) |
| Create a new longname uint16_t flag.
|
|
#define | DEFINE_s_uint16(name, short_opt, default_value, help_str) |
| Create a new uint16_t flag with a long and short name.
|
|
#define | DEFINE_int32(name, default_value, help_str) |
| Create a new longname int32_t flag.
|
|
#define | DEFINE_s_int32(name, short_opt, default_value, help_str) |
| Create a new int32_t flag with a long and short name.
|
|
#define | DEFINE_uint32(name, default_value, help_str) |
| Create a new longname uint32_t flag.
|
|
#define | DEFINE_s_uint32(name, short_opt, default_value, help_str) |
| Create a new int32_t flag with a long and short name.
|
|
#define | DEFINE_string(name, default_value, help_str) |
| Create a new longname string flag.
|
|
#define | DEFINE_s_string(name, short_opt, default_value, help_str) |
| Create a new string flag with a long and short name.
|
|