Groups are a way to organize the option and to provide mutual exclusion. More...
#include <Variant/ArgParse.h>
Public Member Functions | |
| OptionGroup & | Title (const std::string &t) |
| Set the title for this group. | |
| OptionGroup & | Description (const std::string &d) |
| Set the description for this group. | |
| OptionGroup & | MutuallyExclusive (bool exclusive=true) |
| Set that the options in this group are mutually exclusive. | |
| OptionGroup & | Required (bool req=true) |
| Set that at least one option in this group is required. | |
| OptionGroup & | Add (const std::string &keypath) |
| OptionGroup & | Add (const Path &keypath) |
| OptionGroup & | Advanced (bool adv=true) |
| Sets this option group to be advanced. | |
Friends | |
| class | ArgParse |
Groups are a way to organize the option and to provide mutual exclusion.
1.8.7