|
tclap 1.4.0
|
Groups arguments for presentation without imposing a selection rule. More...
#include <ArgGroup.h>


Public Member Functions | |
| AnyOf () | |
| AnyOf (CmdLineInterface &parser) | |
| bool | validate () |
| Validates that the constraints of the ArgGroup are satisfied. | |
| bool | isExclusive () const |
| Returns true if this argument group is exclusive. | |
| bool | isRequired () const |
| Returns true if this argument group is required. | |
Public Member Functions inherited from TCLAP::ArgGroup | |
| virtual | ~ArgGroup () |
| virtual ArgContainer & | add (Arg &arg) |
| Add an argument to this arg group. | |
| virtual ArgContainer & | add (Arg *arg) |
| Add an argument to this arg group. | |
| void | setParser (CmdLineInterface &parser) |
| Used by the parser to connect itself to this arg group. | |
| virtual bool | showAsGroup () const |
| If arguments in this group should show up as grouped in help. | |
| const std::string | getName () const |
| Returns the argument group's name. | |
| 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::ArgGroup | |
| ArgGroup () | |
Protected Attributes inherited from TCLAP::ArgGroup | |
| CmdLineInterface * | _parser |
| Container | _args |
Groups arguments for presentation without imposing a selection rule.
Any combination of members may be selected, subject to each argument's own requirements. This group does not enforce conditional dependencies; applications must check any additional dependencies themselves.
Definition at line 183 of file ArgGroup.h.
|
inline |
Definition at line 185 of file ArgGroup.h.
|
inlineexplicit |
Definition at line 186 of file ArgGroup.h.
References TCLAP::CmdLineInterface::add().

|
inlinevirtual |
Returns true if this argument group is exclusive.
Implements TCLAP::ArgGroup.
Definition at line 189 of file ArgGroup.h.
|
inlinevirtual |
Returns true if this argument group is required.
Implements TCLAP::ArgGroup.
Definition at line 190 of file ArgGroup.h.
|
inlinevirtual |
Validates that the constraints of the ArgGroup are satisfied.
Implements TCLAP::ArgGroup.
Definition at line 188 of file ArgGroup.h.