tclap
1.4.0
|
#include <CmdLine.h>
Public Member Functions | |
StandaloneArgs () | |
ArgContainer & | add (Arg *arg) |
Add an argument to this arg group. More... | |
bool | showAsGroup () const |
If arguments in this group should show up as grouped in help. More... | |
![]() | |
AnyOf () | |
AnyOf (CmdLineInterface &parser) | |
bool | validate () |
Validates that the constraints of the ArgGroup are satisfied. More... | |
bool | isExclusive () const |
Returns true if this argument group is exclusive. More... | |
bool | isRequired () const |
Returns true if this argument group is required. More... | |
![]() | |
virtual | ~ArgGroup () |
virtual ArgContainer & | add (Arg &arg) |
Add an argument to this arg group. More... | |
void | setParser (CmdLineInterface &parser) |
Used by the parser to connect itself to this arg group. 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 |
![]() | |
virtual | ~ArgContainer () |
Additional Inherited Members | |
![]() | |
typedef std::list< Arg * > | Container |
typedef Container::iterator | iterator |
typedef Container::const_iterator | const_iterator |
![]() | |
ArgGroup () | |
![]() | |
CmdLineInterface * | _parser |
Container | _args |
|
inlinevirtual |
Add an argument to this arg group.
Reimplemented from TCLAP::ArgGroup.
Definition at line 60 of file CmdLine.h.
References TCLAP::ArgGroup::_args, TCLAP::ArgGroup::begin(), TCLAP::ArgGroup::end(), and TCLAP::Arg::longID().
Referenced by TCLAP::CmdLine::add(), TCLAP::CmdLine::CmdLine(), and TCLAP::CmdLine::~CmdLine().
|
inlinevirtual |
If arguments in this group should show up as grouped in help.
Reimplemented from TCLAP::ArgGroup.