Classes | |
class | Option |
class | OptionError |
class | OptionParser |
class | TypedOptionParser |
Enumerations | |
enum | action_t { STORE_FALSE = 0, STORE_TRUE, STORE } |
enum | type_t { STRING = 0, BOOL, INT, DOUBLE } |
enum optparse::action_t |
Action type. Use this type to determine what we're storing, naming convention is the same as the optparse python module. Even with STORE_FALSE and STORE_TRUE the values are going to be stored as strings, false is "0" true is "1" so you can just atoi() the value and use that for tests.
Definition at line 34 of file optparse.h.
enum optparse::type_t |
Option argument type. Defines expected option argument type.
Definition at line 40 of file optparse.h.