libvariant
 All Classes Namespaces Files Functions Enumerations Groups
Public Member Functions | Friends | List of all members
libvariant::OptionGroup Class Reference

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
 

Detailed Description

Groups are a way to organize the option and to provide mutual exclusion.


The documentation for this class was generated from the following files: