tclap
1.4.0
|
Implements a group of arguments where at most one can be selected. More...
#include <ArgGroup.h>
Public Member Functions | |
EitherOf () | |
EitherOf (CmdLineInterface &parser) | |
bool | isRequired () const |
Returns true if this argument group is required. More... | |
Public Member Functions inherited from TCLAP::ExclusiveArgGroup | |
bool | validate () |
Validates that the constraints of the ArgGroup are satisfied. More... | |
bool | isExclusive () const |
Returns true if this argument group is exclusive. More... | |
ArgContainer & | add (Arg &arg) |
Add an argument to this arg group. More... | |
ArgContainer & | add (Arg *arg) |
Add an argument to this arg group. More... | |
Public Member Functions inherited from TCLAP::ArgGroup | |
virtual | ~ArgGroup () |
void | setParser (CmdLineInterface &parser) |
Used by the parser to connect itself to this arg group. More... | |
virtual bool | showAsGroup () const |
If arguments in this group should show up as grouped in help. More... | |
const std::string | getName () const |
Returns the argument group's name. More... | |
iterator | begin () |
iterator | end () |
const_iterator | begin () const |
const_iterator | end () const |
Public Member Functions inherited from TCLAP::ArgContainer | |
virtual | ~ArgContainer () |
Additional Inherited Members | |
Public Types inherited from TCLAP::ArgGroup | |
typedef std::list< Arg * > | Container |
typedef Container::iterator | iterator |
typedef Container::const_iterator | const_iterator |
Protected Member Functions inherited from TCLAP::ExclusiveArgGroup | |
ExclusiveArgGroup () | |
ExclusiveArgGroup (CmdLineInterface &parser) | |
Protected Member Functions inherited from TCLAP::ArgGroup | |
ArgGroup () | |
Protected Attributes inherited from TCLAP::ArgGroup | |
CmdLineInterface * | _parser |
Container | _args |
Implements a group of arguments where at most one can be selected.
Definition at line 156 of file ArgGroup.h.
|
inline |
Definition at line 158 of file ArgGroup.h.
|
inlineexplicit |
Definition at line 159 of file ArgGroup.h.
|
inlinevirtual |
Returns true if this argument group is required.
Implements TCLAP::ArgGroup.
Definition at line 161 of file ArgGroup.h.